Skip to content

Releases: geekact/topic

v3.0.2

15 May 16:18
Compare
Choose a tag to compare

日志

  • 移除扩展操作符(...)语法

提交

v3.0.1...v3.0.2

v3.0.1

07 May 03:00
Compare
Choose a tag to compare

日志

  • 修复 subscribeOnce token 提前访问的问题

提交

v3.0.0...v3.0.1

v3.0.0

26 May 08:57
Compare
Choose a tag to compare

Define parameters by tuple.

Before

import { Topic } from 'topic';

const topic = new Topic<{
  foo: (name: string, age: number) => void;
  bar: (x: boolean, y: number) => void;
}>();

After

import { Topic } from 'topic';

const topic = new Topic<{
  foo: [name: string, age: number];
  bar: [x: boolean, y: number];
}>();

v2.1.2

18 May 02:40
Compare
Choose a tag to compare

v2.0.0

28 Dec 06:10
Compare
Choose a tag to compare

Totally new interface

v1.1.0

15 Nov 04:56
Compare
Choose a tag to compare
fix ide can't track or recognition the method

add demo file

v1.0.4

15 Nov 03:22
Compare
Choose a tag to compare

[add] dist/ can be generated automatically

import topic from 'topic'; will load dist/index.js

and you can load src/index.js like this:

import topic from 'topic/src';

v1.0.2

15 Nov 02:14
Compare
Choose a tag to compare

[enhance] method publish will not refresh subscription items every times.

v1.0.1

14 Nov 13:43
Compare
Choose a tag to compare

[1] fix word typo.
[2] export default module instead of special variable.

v1.0.0

14 Nov 12:58
Compare
Choose a tag to compare

first release!