@polkadot/rpc-core 7.1.2-4 → 7.1.2-8
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/bundle.cjs +1 -1
- package/bundle.js +1 -1
- package/cjs/dirname.d.ts +3 -1
- package/cjs/dirname.js +3 -1
- package/cjs/package.json +2 -2
- package/detectOther.cjs +1 -1
- package/detectOther.js +1 -1
- package/detectPackage.cjs +7 -8
- package/detectPackage.js +5 -5
- package/index.js +1 -1
- package/package.json +5 -5
- package/packageInfo.cjs +3 -3
- package/packageInfo.js +3 -3
- package/types/index.js +1 -1
- package/util/drr.cjs +1 -1
- package/util/drr.js +1 -1
- package/util/index.js +1 -1
- package/util/memo.cjs +1 -1
- package/util/memo.js +1 -1
- package/util/refCountDelay.cjs +1 -1
- package/util/refCountDelay.js +1 -1
package/bundle.cjs
CHANGED
|
@@ -43,7 +43,7 @@ Object.keys(_index).forEach(function (key) {
|
|
|
43
43
|
|
|
44
44
|
var _packageInfo = require("./packageInfo.cjs");
|
|
45
45
|
|
|
46
|
-
// Copyright 2017-
|
|
46
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
47
47
|
// SPDX-License-Identifier: Apache-2.0
|
|
48
48
|
const l = (0, _util.logger)('rpc-core');
|
|
49
49
|
const EMPTY_META = {
|
package/bundle.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _classPrivateFieldLooseBase from "@babel/runtime/helpers/esm/classPrivateFieldLooseBase";
|
|
2
2
|
import _classPrivateFieldLooseKey from "@babel/runtime/helpers/esm/classPrivateFieldLooseKey";
|
|
3
|
-
// Copyright 2017-
|
|
3
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
4
4
|
// SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
import { Observable, publishReplay, refCount } from 'rxjs';
|
|
6
6
|
import { rpcDefinitions } from '@polkadot/types';
|
package/cjs/dirname.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
|
|
4
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
5
|
+
|
|
4
6
|
declare const __dirname: string | undefined;
|
|
5
7
|
|
|
6
8
|
export default __dirname;
|
package/cjs/dirname.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
|
|
4
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
5
|
+
|
|
4
6
|
module.exports = typeof __dirname === 'string'
|
|
5
7
|
? __dirname.replace('/cjs', '')
|
|
6
8
|
: undefined;
|
package/cjs/package.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
{
|
|
2
|
-
"type":
|
|
3
|
-
}
|
|
2
|
+
"type":"commonjs"
|
|
3
|
+
}
|
package/detectOther.cjs
CHANGED
|
@@ -9,7 +9,7 @@ var _packageInfo = require("@polkadot/rpc-provider/packageInfo");
|
|
|
9
9
|
|
|
10
10
|
var _packageInfo2 = require("@polkadot/types/packageInfo");
|
|
11
11
|
|
|
12
|
-
// Copyright 2017-
|
|
12
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
13
13
|
// SPDX-License-Identifier: Apache-2.0
|
|
14
14
|
var _default = [_packageInfo.packageInfo, _packageInfo2.packageInfo];
|
|
15
15
|
exports.default = _default;
|
package/detectOther.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import { packageInfo as providerInfo } from '@polkadot/rpc-provider/packageInfo';
|
|
4
4
|
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
|
package/detectPackage.cjs
CHANGED
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
|
-
var _packageInfo = require("@polkadot/rpc-provider/packageInfo");
|
|
6
|
-
|
|
7
|
-
var _packageInfo2 = require("@polkadot/types/packageInfo");
|
|
8
|
-
|
|
9
5
|
var _util = require("@polkadot/util");
|
|
10
6
|
|
|
11
|
-
var
|
|
7
|
+
var _dirname = _interopRequireDefault(require("./cjs/dirname"));
|
|
8
|
+
|
|
9
|
+
var _detectOther = _interopRequireDefault(require("./detectOther.cjs"));
|
|
12
10
|
|
|
13
|
-
var
|
|
11
|
+
var _packageInfo = require("./packageInfo.cjs");
|
|
14
12
|
|
|
15
|
-
// Copyright 2017-
|
|
13
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
16
14
|
// SPDX-License-Identifier: Apache-2.0
|
|
17
|
-
|
|
15
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
16
|
+
(0, _util.detectPackage)(_packageInfo.packageInfo, _dirname.default, _detectOther.default);
|
package/detectPackage.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
4
|
-
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
|
|
3
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
5
4
|
import { detectPackage } from '@polkadot/util';
|
|
6
|
-
import
|
|
5
|
+
import dirname from "./cjs/dirname.js";
|
|
6
|
+
import others from "./detectOther.js";
|
|
7
7
|
import { packageInfo } from "./packageInfo.js";
|
|
8
|
-
detectPackage(packageInfo,
|
|
8
|
+
detectPackage(packageInfo, dirname, others);
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "7.1.2-
|
|
23
|
+
"version": "7.1.2-8",
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.16.7",
|
|
27
|
-
"@polkadot/rpc-augment": "7.1.2-
|
|
28
|
-
"@polkadot/rpc-provider": "7.1.2-
|
|
29
|
-
"@polkadot/types": "7.1.2-
|
|
27
|
+
"@polkadot/rpc-augment": "7.1.2-8",
|
|
28
|
+
"@polkadot/rpc-provider": "7.1.2-8",
|
|
29
|
+
"@polkadot/types": "7.1.2-8",
|
|
30
30
|
"@polkadot/util": "^8.2.2",
|
|
31
31
|
"rxjs": "^7.5.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@polkadot/keyring": "^8.2.2",
|
|
35
|
-
"@polkadot/rpc-augment": "7.1.2-
|
|
35
|
+
"@polkadot/rpc-augment": "7.1.2-8"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|
|
38
38
|
".": {
|
package/packageInfo.cjs
CHANGED
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.packageInfo = void 0;
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
|
-
//
|
|
9
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
10
10
|
const packageInfo = {
|
|
11
11
|
name: '@polkadot/rpc-core',
|
|
12
|
-
version: '7.1.2-
|
|
12
|
+
version: '7.1.2-8'
|
|
13
13
|
};
|
|
14
14
|
exports.packageInfo = packageInfo;
|
package/packageInfo.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
//
|
|
3
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
4
4
|
export const packageInfo = {
|
|
5
5
|
name: '@polkadot/rpc-core',
|
|
6
|
-
version: '7.1.2-
|
|
6
|
+
version: '7.1.2-8'
|
|
7
7
|
};
|
package/types/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
// augmented, do an augmentation export
|
|
4
4
|
export * from '@polkadot/rpc-core/types/jsonrpc'; // normal exports
|
package/util/drr.cjs
CHANGED
|
@@ -11,7 +11,7 @@ var _util = require("@polkadot/util");
|
|
|
11
11
|
|
|
12
12
|
var _refCountDelay = require("./refCountDelay.cjs");
|
|
13
13
|
|
|
14
|
-
// Copyright 2017-
|
|
14
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
15
15
|
// SPDX-License-Identifier: Apache-2.0
|
|
16
16
|
const l = (0, _util.logger)('drr');
|
|
17
17
|
|
package/util/drr.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import { catchError, distinctUntilChanged, publishReplay, refCount, tap } from 'rxjs';
|
|
4
4
|
import { logger, stringify } from '@polkadot/util';
|
package/util/index.js
CHANGED
package/util/memo.cjs
CHANGED
|
@@ -11,7 +11,7 @@ var _util = require("@polkadot/util");
|
|
|
11
11
|
|
|
12
12
|
var _drr = require("./drr.cjs");
|
|
13
13
|
|
|
14
|
-
// Copyright 2017-
|
|
14
|
+
// Copyright 2017-2022 @polkadot/api-derive authors & contributors
|
|
15
15
|
// SPDX-License-Identifier: Apache-2.0
|
|
16
16
|
// Wraps a derive, doing 2 things to optimize calls -
|
|
17
17
|
// 1. creates a memo of the inner fn -> Observable, removing when unsubscribed
|
package/util/memo.js
CHANGED
package/util/refCountDelay.cjs
CHANGED
|
@@ -7,7 +7,7 @@ exports.refCountDelay = refCountDelay;
|
|
|
7
7
|
|
|
8
8
|
var _rxjs = require("rxjs");
|
|
9
9
|
|
|
10
|
-
// Copyright 2017-
|
|
10
|
+
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
11
11
|
// SPDX-License-Identifier: Apache-2.0
|
|
12
12
|
|
|
13
13
|
/** @internal */
|
package/util/refCountDelay.js
CHANGED