@polkadot/rpc-augment 9.5.2 → 9.6.2

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/augment/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import "./jsonrpc.js";
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/rpc-core/types/jsonrpc'; // declare module
6
+ import '@polkadot/rpc-core/types/jsonrpc';
7
+
8
+ // declare module
package/bundle.js CHANGED
@@ -1,4 +1,5 @@
1
1
  // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import "./augment/index.js";
4
5
  export { packageInfo } from "./packageInfo.js";
package/cjs/bundle.js CHANGED
@@ -9,7 +9,5 @@ Object.defineProperty(exports, "packageInfo", {
9
9
  return _packageInfo.packageInfo;
10
10
  }
11
11
  });
12
-
13
12
  require("./augment");
14
-
15
13
  var _packageInfo = require("./packageInfo");
@@ -4,11 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _packageInfo = require("@polkadot/rpc-core/cjs/packageInfo");
9
-
10
8
  var _packageInfo2 = require("@polkadot/types/cjs/packageInfo");
11
-
12
9
  // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
13
10
  // SPDX-License-Identifier: Apache-2.0
14
11
  var _default = [_packageInfo.packageInfo, _packageInfo2.packageInfo];
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  var _util = require("@polkadot/util");
6
-
7
5
  var _detectOther = _interopRequireDefault(require("./detectOther"));
8
-
9
6
  var _packageInfo = require("./packageInfo");
10
-
11
7
  // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
12
8
  // SPDX-License-Identifier: Apache-2.0
9
+
13
10
  // Do not edit, auto-generated by @polkadot/dev
11
+
14
12
  (0, _util.detectPackage)(_packageInfo.packageInfo, null, _detectOther.default);
package/cjs/index.js CHANGED
@@ -3,11 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
-
7
6
  require("./detectPackage");
8
-
9
7
  var _bundle = require("./bundle");
10
-
11
8
  Object.keys(_bundle).forEach(function (key) {
12
9
  if (key === "default" || key === "__esModule") return;
13
10
  if (key in exports && exports[key] === _bundle[key]) return;
@@ -6,11 +6,13 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.packageInfo = void 0;
7
7
  // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
8
8
  // SPDX-License-Identifier: Apache-2.0
9
+
9
10
  // Do not edit, auto-generated by @polkadot/dev
11
+
10
12
  const packageInfo = {
11
13
  name: '@polkadot/rpc-augment',
12
14
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
15
  type: 'cjs',
14
- version: '9.5.2'
16
+ version: '9.6.2'
15
17
  };
16
18
  exports.packageInfo = packageInfo;
package/detectOther.js CHANGED
@@ -1,5 +1,6 @@
1
1
  // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import { packageInfo as coreInfo } from '@polkadot/rpc-core/packageInfo';
4
5
  import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
5
6
  export default [coreInfo, typesInfo];
package/detectPackage.js CHANGED
@@ -1,6 +1,8 @@
1
1
  // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  // Do not edit, auto-generated by @polkadot/dev
5
+
4
6
  import { detectPackage } from '@polkadot/util';
5
7
  import others from "./detectOther.js";
6
8
  import { packageInfo } from "./packageInfo.js";
package/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import "./detectPackage.js";
4
5
  export * from "./bundle.js";
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./cjs/detectPackage.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "9.5.2",
23
+ "version": "9.6.2",
24
24
  "main": "./cjs/index.js",
25
25
  "module": "./index.js",
26
26
  "types": "./index.d.ts",
@@ -70,10 +70,10 @@
70
70
  }
71
71
  },
72
72
  "dependencies": {
73
- "@babel/runtime": "^7.19.4",
74
- "@polkadot/rpc-core": "9.5.2",
75
- "@polkadot/types": "9.5.2",
76
- "@polkadot/types-codec": "9.5.2",
73
+ "@babel/runtime": "^7.20.0",
74
+ "@polkadot/rpc-core": "9.6.2",
75
+ "@polkadot/types": "9.6.2",
76
+ "@polkadot/types-codec": "9.6.2",
77
77
  "@polkadot/util": "^10.1.11"
78
78
  }
79
79
  }
package/packageInfo.js CHANGED
@@ -1,9 +1,11 @@
1
1
  // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  // Do not edit, auto-generated by @polkadot/dev
5
+
4
6
  export const packageInfo = {
5
7
  name: '@polkadot/rpc-augment',
6
8
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
7
9
  type: 'esm',
8
- version: '9.5.2'
10
+ version: '9.6.2'
9
11
  };