@subwallet/extension-base 1.0.6-0 → 1.0.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.
@@ -50,9 +50,6 @@ class RmrkNftApi extends _nft.BaseNftApi {
50
50
  }
51
51
  async getAllByAccount(account) {
52
52
  const fetchUrls = [{
53
- url: _config.SINGULAR_V1_ENDPOINT + account,
54
- source: RMRK_SOURCE.SINGULAR_V1
55
- }, {
56
53
  url: _config.SINGULAR_V2_ENDPOINT + account,
57
54
  source: RMRK_SOURCE.SINGULAR_V2
58
55
  }];
@@ -2387,7 +2387,8 @@ class KoniExtension {
2387
2387
  transaction: extrinsic,
2388
2388
  data: inputData,
2389
2389
  extrinsicType: _KoniTypes.ExtrinsicType.STAKING_JOIN_POOL,
2390
- chainType: _KoniTypes.ChainType.SUBSTRATE
2390
+ chainType: _KoniTypes.ChainType.SUBSTRATE,
2391
+ transferNativeAmount: amount
2391
2392
  });
2392
2393
  }
2393
2394
  async submitPoolingUnbonding(inputData) {
@@ -13,6 +13,6 @@ const packageInfo = {
13
13
  name: '@subwallet/extension-base',
14
14
  path: typeof __dirname === 'string' ? __dirname : 'auto',
15
15
  type: 'cjs',
16
- version: '1.0.6-0'
16
+ version: '1.0.6-1'
17
17
  };
18
18
  exports.packageInfo = packageInfo;
@@ -5,7 +5,7 @@ import { RMRK_VER } from '@subwallet/extension-base/background/KoniTypes';
5
5
  import { BaseNftApi } from '@subwallet/extension-base/koni/api/nft/nft';
6
6
  import { isUrl, reformatAddress } from '@subwallet/extension-base/utils';
7
7
  import fetch from 'cross-fetch';
8
- import { getRandomIpfsGateway, SINGULAR_V1_COLLECTION_ENDPOINT, SINGULAR_V1_ENDPOINT, SINGULAR_V2_COLLECTION_ENDPOINT, SINGULAR_V2_ENDPOINT } from "../config.js";
8
+ import { getRandomIpfsGateway, SINGULAR_V1_COLLECTION_ENDPOINT, SINGULAR_V2_COLLECTION_ENDPOINT, SINGULAR_V2_ENDPOINT } from "../config.js";
9
9
  var RMRK_SOURCE;
10
10
  (function (RMRK_SOURCE) {
11
11
  RMRK_SOURCE["BIRD_KANARIA"] = "bird_kanaria";
@@ -44,9 +44,6 @@ export class RmrkNftApi extends BaseNftApi {
44
44
  }
45
45
  async getAllByAccount(account) {
46
46
  const fetchUrls = [{
47
- url: SINGULAR_V1_ENDPOINT + account,
48
- source: RMRK_SOURCE.SINGULAR_V1
49
- }, {
50
47
  url: SINGULAR_V2_ENDPOINT + account,
51
48
  source: RMRK_SOURCE.SINGULAR_V2
52
49
  }];
@@ -2321,7 +2321,8 @@ export default class KoniExtension {
2321
2321
  transaction: extrinsic,
2322
2322
  data: inputData,
2323
2323
  extrinsicType: ExtrinsicType.STAKING_JOIN_POOL,
2324
- chainType: ChainType.SUBSTRATE
2324
+ chainType: ChainType.SUBSTRATE,
2325
+ transferNativeAmount: amount
2325
2326
  });
2326
2327
  }
2327
2328
  async submitPoolingUnbonding(inputData) {
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "./cjs/detectPackage.js"
18
18
  ],
19
19
  "type": "module",
20
- "version": "1.0.6-0",
20
+ "version": "1.0.6-1",
21
21
  "main": "./cjs/index.js",
22
22
  "module": "./index.js",
23
23
  "types": "./index.d.ts",
@@ -1698,10 +1698,10 @@
1698
1698
  "@subsocial/types": "^0.6.8",
1699
1699
  "@substrate/connect": "^0.7.26",
1700
1700
  "@subwallet/chain-list": "^0.1.7",
1701
- "@subwallet/extension-base": "^1.0.6-0",
1702
- "@subwallet/extension-chains": "^1.0.6-0",
1703
- "@subwallet/extension-dapp": "^1.0.6-0",
1704
- "@subwallet/extension-inject": "^1.0.6-0",
1701
+ "@subwallet/extension-base": "^1.0.6-1",
1702
+ "@subwallet/extension-chains": "^1.0.6-1",
1703
+ "@subwallet/extension-dapp": "^1.0.6-1",
1704
+ "@subwallet/extension-inject": "^1.0.6-1",
1705
1705
  "@subwallet/keyring": "^0.0.9",
1706
1706
  "@subwallet/ui-keyring": "^0.0.9",
1707
1707
  "@unique-nft/types": "^0.6.0-4",
package/packageInfo.js CHANGED
@@ -7,5 +7,5 @@ export const packageInfo = {
7
7
  name: '@subwallet/extension-base',
8
8
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
9
9
  type: 'esm',
10
- version: '1.0.6-0'
10
+ version: '1.0.6-1'
11
11
  };