@soonspacejs/plugin-sspx 2.4.15 → 2.5.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1 +1 @@
1
- var e={store:new Map,add(e,t){this.store.set(e,t)},get(e){return this.store.get(e)},remove(e){return this.store.delete(e)}};export{e as default};
1
+ var e={store:new Map,add(e,t){this.store.set(e,t)},get(e){return this.store.get(e)},remove(e){return this.store.delete(e)}};export default e;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).sspxPlugin=t()}(this,(function(){"use strict";return{store:new Map,add(e,t){this.store.set(e,t)},get(e){return this.store.get(e)},remove(e){return this.store.delete(e)}}}));
1
+ var sspxPlugin=function(){"use strict";return{store:new Map,add(e,t){this.store.set(e,t)},get(e){return this.store.get(e)},remove(e){return this.store.delete(e)}}}();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soonspacejs/plugin-sspx",
3
3
  "pluginName": "sspxPlugin",
4
- "version": "2.4.15",
4
+ "version": "2.5.0-alpha.0",
5
5
  "description": "Ssp instance store for SoonSpace.js",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.esm.js",
@@ -13,5 +13,5 @@
13
13
  ],
14
14
  "author": "xuek",
15
15
  "license": "UNLICENSED",
16
- "gitHead": "cedd398528668ca8be8afd67dc5c77ab686b42d7"
16
+ "gitHead": "b8187989f9105b6b235cc22a8e093b4ecab698fb"
17
17
  }
package/dist/index.d.ts DELETED
@@ -1,8 +0,0 @@
1
- import SoonSpace from 'soonspacejs';
2
- declare const _default: {
3
- store: Map<string, SoonSpace>;
4
- add(name: string, ssp: SoonSpace): void;
5
- get(name: string): SoonSpace | undefined;
6
- remove(name: string): boolean;
7
- };
8
- export default _default;