@keplr-wallet/stores-core 0.12.251-rc.0 → 0.12.251-rc.1
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/build/core/chains-ui/index.d.ts +6 -0
- package/build/core/chains-ui/index.js +14 -0
- package/build/core/chains-ui/index.js.map +1 -0
- package/build/core/index.d.ts +1 -0
- package/build/core/index.js +1 -0
- package/build/core/index.js.map +1 -1
- package/package.json +9 -9
- package/src/core/chains-ui/index.ts +15 -0
- package/src/core/index.ts +1 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ChainsUIForegroundStore = void 0;
|
4
|
+
const background_1 = require("@keplr-wallet/background");
|
5
|
+
class ChainsUIForegroundStore {
|
6
|
+
constructor(router, handler) {
|
7
|
+
this.router = router;
|
8
|
+
this.handler = handler;
|
9
|
+
const service = new background_1.ChainsUIForegroundService(handler);
|
10
|
+
(0, background_1.chainsUIForegroundInit)(router, service);
|
11
|
+
}
|
12
|
+
}
|
13
|
+
exports.ChainsUIForegroundStore = ChainsUIForegroundStore;
|
14
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/chains-ui/index.ts"],"names":[],"mappings":";;;AAAA,yDAGkC;AAGlC,MAAa,uBAAuB;IAClC,YACqB,MAAc,EACd,OAAkC;QADlC,WAAM,GAAN,MAAM,CAAQ;QACd,YAAO,GAAP,OAAO,CAA2B;QAErD,MAAM,OAAO,GAAG,IAAI,sCAAyB,CAAC,OAAO,CAAC,CAAC;QACvD,IAAA,mCAAsB,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1C,CAAC;CACF;AARD,0DAQC"}
|
package/build/core/index.d.ts
CHANGED
package/build/core/index.js
CHANGED
@@ -18,4 +18,5 @@ __exportStar(require("./interaction"), exports);
|
|
18
18
|
__exportStar(require("./keyring"), exports);
|
19
19
|
__exportStar(require("./tokens"), exports);
|
20
20
|
__exportStar(require("./permission-manager"), exports);
|
21
|
+
__exportStar(require("./chains-ui"), exports);
|
21
22
|
//# sourceMappingURL=index.js.map
|
package/build/core/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,uDAAqC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,uDAAqC;AACrC,8CAA4B"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@keplr-wallet/stores-core",
|
3
|
-
"version": "0.12.251-rc.
|
3
|
+
"version": "0.12.251-rc.1",
|
4
4
|
"main": "build/index.js",
|
5
5
|
"author": "chainapsis",
|
6
6
|
"license": "Apache-2.0",
|
@@ -16,13 +16,13 @@
|
|
16
16
|
"lint-fix": "npx eslint --fix \"src/**/*\" && npx prettier --write \"src/**/*\""
|
17
17
|
},
|
18
18
|
"dependencies": {
|
19
|
-
"@keplr-wallet/background": "0.12.251-rc.
|
20
|
-
"@keplr-wallet/common": "0.12.251-rc.
|
21
|
-
"@keplr-wallet/cosmos": "0.12.251-rc.
|
22
|
-
"@keplr-wallet/router": "0.12.251-rc.
|
23
|
-
"@keplr-wallet/simple-fetch": "0.12.251-rc.
|
24
|
-
"@keplr-wallet/stores": "0.12.251-rc.
|
25
|
-
"@keplr-wallet/types": "0.12.251-rc.
|
19
|
+
"@keplr-wallet/background": "0.12.251-rc.1",
|
20
|
+
"@keplr-wallet/common": "0.12.251-rc.1",
|
21
|
+
"@keplr-wallet/cosmos": "0.12.251-rc.1",
|
22
|
+
"@keplr-wallet/router": "0.12.251-rc.1",
|
23
|
+
"@keplr-wallet/simple-fetch": "0.12.251-rc.1",
|
24
|
+
"@keplr-wallet/stores": "0.12.251-rc.1",
|
25
|
+
"@keplr-wallet/types": "0.12.251-rc.1",
|
26
26
|
"buffer": "^6.0.3"
|
27
27
|
},
|
28
28
|
"peerDependencies": {
|
@@ -31,5 +31,5 @@
|
|
31
31
|
"mobx-utils": "^6",
|
32
32
|
"starknet": "^7"
|
33
33
|
},
|
34
|
-
"gitHead": "
|
34
|
+
"gitHead": "9dddeb3c2c177415ef2e8c920fdba306e54dfd24"
|
35
35
|
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import {
|
2
|
+
chainsUIForegroundInit,
|
3
|
+
ChainsUIForegroundService,
|
4
|
+
} from "@keplr-wallet/background";
|
5
|
+
import { Router } from "@keplr-wallet/router";
|
6
|
+
|
7
|
+
export class ChainsUIForegroundStore {
|
8
|
+
constructor(
|
9
|
+
protected readonly router: Router,
|
10
|
+
protected readonly handler: (vaultId: string) => void
|
11
|
+
) {
|
12
|
+
const service = new ChainsUIForegroundService(handler);
|
13
|
+
chainsUIForegroundInit(router, service);
|
14
|
+
}
|
15
|
+
}
|
package/src/core/index.ts
CHANGED