@polkadot/rpc-augment 9.5.2 → 9.6.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/augment/index.js +1 -0
- package/augment/jsonrpc.js +4 -2
- package/bundle.js +1 -0
- package/cjs/bundle.js +0 -2
- package/cjs/detectOther.js +0 -3
- package/cjs/detectPackage.js +2 -4
- package/cjs/index.js +0 -3
- package/cjs/packageInfo.js +3 -1
- package/detectOther.js +1 -0
- package/detectPackage.js +2 -0
- package/index.js +1 -0
- package/package.json +4 -4
- package/packageInfo.js +3 -1
package/augment/index.js
CHANGED
package/augment/jsonrpc.js
CHANGED
|
@@ -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';
|
|
6
|
+
import '@polkadot/rpc-core/types/jsonrpc';
|
|
7
|
+
|
|
8
|
+
// declare module
|
package/bundle.js
CHANGED
package/cjs/bundle.js
CHANGED
package/cjs/detectOther.js
CHANGED
|
@@ -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];
|
package/cjs/detectPackage.js
CHANGED
|
@@ -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;
|
package/cjs/packageInfo.js
CHANGED
|
@@ -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.
|
|
16
|
+
version: '9.6.1'
|
|
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
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./cjs/detectPackage.js"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "9.
|
|
23
|
+
"version": "9.6.1",
|
|
24
24
|
"main": "./cjs/index.js",
|
|
25
25
|
"module": "./index.js",
|
|
26
26
|
"types": "./index.d.ts",
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@babel/runtime": "^7.19.4",
|
|
74
|
-
"@polkadot/rpc-core": "9.
|
|
75
|
-
"@polkadot/types": "9.
|
|
76
|
-
"@polkadot/types-codec": "9.
|
|
74
|
+
"@polkadot/rpc-core": "9.6.1",
|
|
75
|
+
"@polkadot/types": "9.6.1",
|
|
76
|
+
"@polkadot/types-codec": "9.6.1",
|
|
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.
|
|
10
|
+
version: '9.6.1'
|
|
9
11
|
};
|