@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.
@@ -0,0 +1,6 @@
1
+ import { Router } from "@keplr-wallet/router";
2
+ export declare class ChainsUIForegroundStore {
3
+ protected readonly router: Router;
4
+ protected readonly handler: (vaultId: string) => void;
5
+ constructor(router: Router, handler: (vaultId: string) => void);
6
+ }
@@ -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"}
@@ -2,3 +2,4 @@ export * from "./interaction";
2
2
  export * from "./keyring";
3
3
  export * from "./tokens";
4
4
  export * from "./permission-manager";
5
+ export * from "./chains-ui";
@@ -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
@@ -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.0",
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.0",
20
- "@keplr-wallet/common": "0.12.251-rc.0",
21
- "@keplr-wallet/cosmos": "0.12.251-rc.0",
22
- "@keplr-wallet/router": "0.12.251-rc.0",
23
- "@keplr-wallet/simple-fetch": "0.12.251-rc.0",
24
- "@keplr-wallet/stores": "0.12.251-rc.0",
25
- "@keplr-wallet/types": "0.12.251-rc.0",
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": "92279bf21edbb843a8769b96a690170c86cc246f"
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
@@ -2,3 +2,4 @@ export * from "./interaction";
2
2
  export * from "./keyring";
3
3
  export * from "./tokens";
4
4
  export * from "./permission-manager";
5
+ export * from "./chains-ui";