@blotoutio/providers-blotout-wallet-sdk 0.41.1 → 0.42.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/index.cjs.js +782 -83
- package/index.js +782 -83
- package/index.mjs +782 -83
- package/package.json +7 -2
- package/stores/shopify/index.cjs.js +4 -2
- package/stores/shopify/index.js +4 -2
- package/stores/shopify/index.mjs +4 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@blotoutio/providers-blotout-wallet-sdk",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.42.0",
|
4
4
|
"description": "Blotout Wallet SDK for EdgeTag",
|
5
5
|
"author": "Blotout",
|
6
6
|
"license": "MIT",
|
@@ -16,10 +16,15 @@
|
|
16
16
|
"import": "./index.mjs",
|
17
17
|
"default": "./index.js"
|
18
18
|
},
|
19
|
-
"./stores/shopify.js": {
|
19
|
+
"./stores/shopify/index.js": {
|
20
20
|
"require": "./stores/shopify/index.cjs.js",
|
21
21
|
"import": "./stores/shopify/index.mjs",
|
22
22
|
"default": "./stores/shopify/index.js"
|
23
|
+
},
|
24
|
+
"./stores/demo/index.js": {
|
25
|
+
"require": "./stores/demo/index.cjs.js",
|
26
|
+
"import": "./stores/demo/index.mjs",
|
27
|
+
"default": "./stores/demo/index.js"
|
23
28
|
}
|
24
29
|
},
|
25
30
|
"repository": {
|
@@ -1,6 +1,8 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
|
3
|
+
var _a;
|
4
|
+
const registryKey = Symbol.for('blotout-wallet');
|
5
|
+
(_a = window[registryKey]) !== null && _a !== void 0 ? _a : (window[registryKey] = {});
|
4
6
|
|
5
7
|
const createShopApi = (fetchOverride = window.fetch) => ({
|
6
8
|
addItems(items) {
|
@@ -55,4 +57,4 @@ const createShopApi = (fetchOverride = window.fetch) => ({
|
|
55
57
|
})));
|
56
58
|
},
|
57
59
|
});
|
58
|
-
window[
|
60
|
+
window[registryKey].storeAPIFactory = createShopApi;
|
package/stores/shopify/index.js
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
(function () {
|
2
2
|
'use strict';
|
3
3
|
|
4
|
-
|
4
|
+
var _a;
|
5
|
+
const registryKey = Symbol.for('blotout-wallet');
|
6
|
+
(_a = window[registryKey]) !== null && _a !== void 0 ? _a : (window[registryKey] = {});
|
5
7
|
|
6
8
|
const createShopApi = (fetchOverride = window.fetch) => ({
|
7
9
|
addItems(items) {
|
@@ -56,6 +58,6 @@
|
|
56
58
|
})));
|
57
59
|
},
|
58
60
|
});
|
59
|
-
window[
|
61
|
+
window[registryKey].storeAPIFactory = createShopApi;
|
60
62
|
|
61
63
|
})();
|
package/stores/shopify/index.mjs
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
|
1
|
+
var _a;
|
2
|
+
const registryKey = Symbol.for('blotout-wallet');
|
3
|
+
(_a = window[registryKey]) !== null && _a !== void 0 ? _a : (window[registryKey] = {});
|
2
4
|
|
3
5
|
const createShopApi = (fetchOverride = window.fetch) => ({
|
4
6
|
addItems(items) {
|
@@ -53,4 +55,4 @@ const createShopApi = (fetchOverride = window.fetch) => ({
|
|
53
55
|
})));
|
54
56
|
},
|
55
57
|
});
|
56
|
-
window[
|
58
|
+
window[registryKey].storeAPIFactory = createShopApi;
|