@polkadot/api-augment 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/base.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2021 @polkadot/api-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  // for the API, we decorate not only the endpoints, but all types
4
4
  import '@polkadot/rpc-augment';
package/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2021 @polkadot/api-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import "./substrate/index.js";
4
4
  export { packageInfo } from "./packageInfo.js";
package/cjs/dirname.d.ts CHANGED
@@ -1,6 +1,8 @@
1
- // Copyright 2017-2021 @polkadot/api-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/api-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
  declare const __dirname: string | undefined;
5
7
 
6
8
  export default __dirname;
package/cjs/dirname.js CHANGED
@@ -1,6 +1,8 @@
1
- // Copyright 2017-2021 @polkadot/api-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/api-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
  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": "commonjs"
3
- }
2
+ "type":"commonjs"
3
+ }
package/detectOther.cjs CHANGED
@@ -11,7 +11,7 @@ var _packageInfo2 = require("@polkadot/types/packageInfo");
11
11
 
12
12
  var _packageInfo3 = require("@polkadot/types-codec/packageInfo");
13
13
 
14
- // Copyright 2017-2021 @polkadot/api-augment authors & contributors
14
+ // Copyright 2017-2022 @polkadot/api-augment authors & contributors
15
15
  // SPDX-License-Identifier: Apache-2.0
16
16
  var _default = [_packageInfo.packageInfo, _packageInfo2.packageInfo, _packageInfo3.packageInfo];
17
17
  exports.default = _default;
package/detectOther.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2021 @polkadot/api-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import { packageInfo as baseInfo } from '@polkadot/api-base/packageInfo';
4
4
  import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
package/detectPackage.cjs CHANGED
@@ -2,18 +2,15 @@
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
 
5
- var _packageInfo = require("@polkadot/api-base/packageInfo");
6
-
7
- var _packageInfo2 = require("@polkadot/types/packageInfo");
8
-
9
- var _packageInfo3 = require("@polkadot/types-codec/packageInfo");
10
-
11
5
  var _util = require("@polkadot/util");
12
6
 
13
- var _dirname2 = _interopRequireDefault(require("./cjs/dirname"));
7
+ var _dirname = _interopRequireDefault(require("./cjs/dirname"));
8
+
9
+ var _detectOther = _interopRequireDefault(require("./detectOther.cjs"));
14
10
 
15
- var _packageInfo4 = require("./packageInfo.cjs");
11
+ var _packageInfo = require("./packageInfo.cjs");
16
12
 
17
- // Copyright 2017-2021 @polkadot/api-augment authors & contributors
13
+ // Copyright 2017-2022 @polkadot/api-augment authors & contributors
18
14
  // SPDX-License-Identifier: Apache-2.0
19
- (0, _util.detectPackage)(_packageInfo4.packageInfo, typeof _dirname2.default !== 'undefined' && _dirname2.default, [_packageInfo.packageInfo, _packageInfo2.packageInfo, _packageInfo3.packageInfo]);
15
+ // Do not edit, auto-generated by @polkadot/dev
16
+ (0, _util.detectPackage)(_packageInfo.packageInfo, _dirname.default, _detectOther.default);
package/detectPackage.js CHANGED
@@ -1,9 +1,8 @@
1
- // Copyright 2017-2021 @polkadot/api-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- import { packageInfo as baseInfo } from '@polkadot/api-base/packageInfo';
4
- import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
5
- import { packageInfo as codecInfo } from '@polkadot/types-codec/packageInfo';
3
+ // Do not edit, auto-generated by @polkadot/dev
6
4
  import { detectPackage } from '@polkadot/util';
7
- import __dirname from "./cjs/dirname.js";
5
+ import dirname from "./cjs/dirname.js";
6
+ import others from "./detectOther.js";
8
7
  import { packageInfo } from "./packageInfo.js";
9
- detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [baseInfo, typesInfo, codecInfo]);
8
+ detectPackage(packageInfo, dirname, others);
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2021 @polkadot/api-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import "./detectPackage.js";
4
4
  export * from "./bundle.js";
package/kusama/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2021 @polkadot/api-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import "../base.js";
4
4
  import "./consts.js";
package/package.json CHANGED
@@ -20,15 +20,15 @@
20
20
  "./detectPackage.cjs"
21
21
  ],
22
22
  "type": "module",
23
- "version": "7.1.2-4",
23
+ "version": "7.1.2-8",
24
24
  "main": "index.js",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.16.7",
27
- "@polkadot/api-base": "7.1.2-4",
28
- "@polkadot/rpc-augment": "7.1.2-4",
29
- "@polkadot/types": "7.1.2-4",
30
- "@polkadot/types-augment": "7.1.2-4",
31
- "@polkadot/types-codec": "7.1.2-4",
27
+ "@polkadot/api-base": "7.1.2-8",
28
+ "@polkadot/rpc-augment": "7.1.2-8",
29
+ "@polkadot/types": "7.1.2-8",
30
+ "@polkadot/types-augment": "7.1.2-8",
31
+ "@polkadot/types-codec": "7.1.2-8",
32
32
  "@polkadot/util": "^8.2.2"
33
33
  },
34
34
  "exports": {
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-2021 @polkadot/api-augment authors & contributors
7
+ // Copyright 2017-2022 @polkadot/api-augment authors & contributors
8
8
  // SPDX-License-Identifier: Apache-2.0
9
- // Auto-generated by @polkadot/dev, do not edit
9
+ // Do not edit, auto-generated by @polkadot/dev
10
10
  const packageInfo = {
11
11
  name: '@polkadot/api-augment',
12
- version: '7.1.2-4'
12
+ version: '7.1.2-8'
13
13
  };
14
14
  exports.packageInfo = packageInfo;
package/packageInfo.js CHANGED
@@ -1,7 +1,7 @@
1
- // Copyright 2017-2021 @polkadot/api-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- // Auto-generated by @polkadot/dev, do not edit
3
+ // Do not edit, auto-generated by @polkadot/dev
4
4
  export const packageInfo = {
5
5
  name: '@polkadot/api-augment',
6
- version: '7.1.2-4'
6
+ version: '7.1.2-8'
7
7
  };
package/polkadot/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2021 @polkadot/api-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import "../base.js";
4
4
  import "./consts.js";
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2021 @polkadot/api-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import "../base.js";
4
4
  import "./consts.js";