@polkadot/extension-base 0.41.2-0 → 0.41.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/package.json CHANGED
@@ -14,16 +14,16 @@
14
14
  },
15
15
  "sideEffects": false,
16
16
  "type": "module",
17
- "version": "0.41.2-0",
17
+ "version": "0.41.2",
18
18
  "main": "index.js",
19
19
  "dependencies": {
20
- "@babel/runtime": "^7.15.4",
21
- "@polkadot/api": "^6.7.1",
22
- "@polkadot/extension-dapp": "^0.41.2-0",
23
- "@polkadot/extension-inject": "^0.41.2-0",
24
- "@polkadot/keyring": "^7.8.2",
25
- "@polkadot/phishing": "^0.6.407",
26
- "@polkadot/ui-keyring": "^0.86.5"
20
+ "@babel/runtime": "^7.16.3",
21
+ "@polkadot/api": "^6.10.2",
22
+ "@polkadot/extension-dapp": "^0.41.2",
23
+ "@polkadot/extension-inject": "^0.41.2",
24
+ "@polkadot/keyring": "^8.0.4",
25
+ "@polkadot/phishing": "^0.6.481",
26
+ "@polkadot/ui-keyring": "^0.87.2"
27
27
  },
28
28
  "exports": {
29
29
  ".": {
package/packageInfo.cjs CHANGED
@@ -9,6 +9,6 @@ exports.packageInfo = void 0;
9
9
  // Auto-generated by @polkadot/dev, do not edit
10
10
  const packageInfo = {
11
11
  name: '@polkadot/extension-base',
12
- version: '0.41.2-0'
12
+ version: '0.41.2'
13
13
  };
14
14
  exports.packageInfo = packageInfo;
package/packageInfo.js CHANGED
@@ -3,5 +3,5 @@
3
3
  // Auto-generated by @polkadot/dev, do not edit
4
4
  export const packageInfo = {
5
5
  name: '@polkadot/extension-base',
6
- version: '0.41.2-0'
6
+ version: '0.41.2'
7
7
  };
@@ -126,7 +126,7 @@ class PostMessageProvider {
126
126
  } // eslint-disable-next-line @typescript-eslint/no-explicit-any
127
127
 
128
128
 
129
- async send(method, params, subscription) {
129
+ async send(method, params, _, subscription) {
130
130
  if (subscription) {
131
131
  const {
132
132
  callback,
@@ -176,7 +176,7 @@ class PostMessageProvider {
176
176
  }
177
177
 
178
178
  subscribe(type, method, params, callback) {
179
- return this.send(method, params, {
179
+ return this.send(method, params, false, {
180
180
  callback,
181
181
  type
182
182
  });
@@ -48,7 +48,7 @@ export default class PostMessageProvider implements InjectedProvider {
48
48
  * @return unsubscribe function
49
49
  */
50
50
  on(type: ProviderInterfaceEmitted, sub: ProviderInterfaceEmitCb): () => void;
51
- send(method: string, params: unknown[], subscription?: SubscriptionHandler): Promise<any>;
51
+ send(method: string, params: unknown[], _?: boolean, subscription?: SubscriptionHandler): Promise<any>;
52
52
  /**
53
53
  * @summary Spawn a provider on the extension background.
54
54
  */
@@ -113,7 +113,7 @@ export default class PostMessageProvider {
113
113
  } // eslint-disable-next-line @typescript-eslint/no-explicit-any
114
114
 
115
115
 
116
- async send(method, params, subscription) {
116
+ async send(method, params, _, subscription) {
117
117
  if (subscription) {
118
118
  const {
119
119
  callback,
@@ -163,7 +163,7 @@ export default class PostMessageProvider {
163
163
  }
164
164
 
165
165
  subscribe(type, method, params, callback) {
166
- return this.send(method, params, {
166
+ return this.send(method, params, false, {
167
167
  callback,
168
168
  type
169
169
  });