dedot 0.0.1-alpha.22 → 0.0.1-alpha.23

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.
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.Dedot = exports.SUPPORTED_METADATA_VERSIONS = exports.CATCH_ALL_METADATA_KEY = exports.KEEP_ALIVE_INTERVAL = void 0;
4
7
  const rpc_provider_1 = require("@polkadot/rpc-provider");
@@ -6,7 +9,7 @@ const codecs_1 = require("@dedot/codecs");
6
9
  const executor_1 = require("../executor");
7
10
  const proxychain_1 = require("../proxychain");
8
11
  const utils_1 = require("@dedot/utils");
9
- const localforage_1 = require("localforage");
12
+ const localforage_1 = __importDefault(require("localforage"));
10
13
  const util_1 = require("@polkadot/util");
11
14
  exports.KEEP_ALIVE_INTERVAL = 10_000; // in ms
12
15
  exports.CATCH_ALL_METADATA_KEY = `RAW_META/ALL`;
@@ -1,9 +1,32 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
2
25
  Object.defineProperty(exports, "__esModule", { value: true });
3
26
  exports.ExtraSignedExtension = void 0;
4
27
  const SignedExtension_1 = require("./SignedExtension");
5
28
  const utils_1 = require("@dedot/utils");
6
- const $ = require("@dedot/shape");
29
+ const $ = __importStar(require("@dedot/shape"));
7
30
  const known_1 = require("./known");
8
31
  const util_1 = require("@polkadot/util");
9
32
  class ExtraSignedExtension extends SignedExtension_1.SignedExtension {
@@ -2,4 +2,4 @@
2
2
  // THIS FILE IS AUTO-GENERATED, DO NOT EDIT!
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.packageInfo = void 0;
5
- exports.packageInfo = { name: 'dedot', version: '0.0.1-alpha.21' };
5
+ exports.packageInfo = { name: 'dedot', version: '0.0.1-alpha.22' };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dedot",
3
- "version": "0.0.1-alpha.22",
3
+ "version": "0.0.1-alpha.23",
4
4
  "description": "A fast & lightweight JavaScript/TypeScript client for Polkadot & Substrate",
5
5
  "author": "Thang X. Vu <thang@coongcrafts.io>",
6
6
  "homepage": "https://github.com/dedotdev/dedot",
@@ -12,11 +12,11 @@
12
12
  "main": "./cjs/index.js",
13
13
  "type": "module",
14
14
  "dependencies": {
15
- "@dedot/chaintypes": "0.0.1-alpha.22",
16
- "@dedot/codecs": "0.0.1-alpha.22",
17
- "@dedot/shape": "0.0.1-alpha.22",
18
- "@dedot/specs": "0.0.1-alpha.22",
19
- "@dedot/utils": "0.0.1-alpha.22",
15
+ "@dedot/chaintypes": "0.0.1-alpha.23",
16
+ "@dedot/codecs": "0.0.1-alpha.23",
17
+ "@dedot/shape": "0.0.1-alpha.23",
18
+ "@dedot/specs": "0.0.1-alpha.23",
19
+ "@dedot/utils": "0.0.1-alpha.23",
20
20
  "@polkadot/rpc-provider": "^10.11.2",
21
21
  "@polkadot/util": "^12.6.2",
22
22
  "@polkadot/util-crypto": "^12.6.2",
@@ -36,7 +36,7 @@
36
36
  "@polkadot/keyring": "^12.6.2",
37
37
  "@polkadot/types": "^10.11.2"
38
38
  },
39
- "gitHead": "535f3ade0fa48d6d8aeabb1a1c9ed26b82e9e836",
39
+ "gitHead": "d0aaaf353a6596d5dcd9277b241799bd544a2bd2",
40
40
  "module": "./index.js",
41
41
  "types": "./index.d.ts",
42
42
  "exports": {
package/packageInfo.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // THIS FILE IS AUTO-GENERATED, DO NOT EDIT!
2
2
 
3
- export const packageInfo = { name: 'dedot', version: '0.0.1-alpha.22' };
3
+ export const packageInfo = { name: 'dedot', version: '0.0.1-alpha.23' };