@polkadot/extension-dapp 0.60.1 → 0.61.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.
@@ -18,7 +18,7 @@
18
18
  });
19
19
  }
20
20
 
21
- const packageInfo = { name: '@polkadot/extension-dapp', path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href)) }) && (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))) ? new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))).pathname.substring(0, new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '0.60.1' };
21
+ const packageInfo = { name: '@polkadot/extension-dapp', path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href)) }) && (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))) ? new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))).pathname.substring(0, new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '0.61.2' };
22
22
 
23
23
  const unwrapBytes = util.u8aUnwrapBytes;
24
24
  const wrapBytes = util.u8aWrapBytes;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageInfo = void 0;
4
- exports.packageInfo = { name: '@polkadot/extension-dapp', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '0.60.1' };
4
+ exports.packageInfo = { name: '@polkadot/extension-dapp', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '0.61.2' };
@@ -1,7 +1,7 @@
1
1
  import { u8aIsWrapped, u8aUnwrapBytes, u8aWrapBytes } from '@polkadot/util';
2
- export declare const ETHEREUM: Uint8Array;
3
- export declare const POSTFIX: Uint8Array;
4
- export declare const PREFIX: Uint8Array;
2
+ export declare const ETHEREUM: Uint8Array<ArrayBufferLike>;
3
+ export declare const POSTFIX: Uint8Array<ArrayBufferLike>;
4
+ export declare const PREFIX: Uint8Array<ArrayBufferLike>;
5
5
  export declare const isWrapped: typeof u8aIsWrapped;
6
6
  export declare const unwrapBytes: typeof u8aUnwrapBytes;
7
7
  export declare const wrapBytes: typeof u8aWrapBytes;
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "./cjs/packageDetect.js"
19
19
  ],
20
20
  "type": "module",
21
- "version": "0.60.1",
21
+ "version": "0.61.2",
22
22
  "main": "./cjs/index.js",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts",
@@ -129,9 +129,9 @@
129
129
  }
130
130
  },
131
131
  "dependencies": {
132
- "@polkadot/extension-inject": "0.60.1",
133
- "@polkadot/util": "^13.5.2",
134
- "@polkadot/util-crypto": "^13.5.2",
132
+ "@polkadot/extension-inject": "0.61.2",
133
+ "@polkadot/util": "^13.5.3",
134
+ "@polkadot/util-crypto": "^13.5.3",
135
135
  "tslib": "^2.8.1"
136
136
  },
137
137
  "peerDependencies": {
package/packageInfo.js CHANGED
@@ -1 +1 @@
1
- export const packageInfo = { name: '@polkadot/extension-dapp', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '0.60.1' };
1
+ export const packageInfo = { name: '@polkadot/extension-dapp', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '0.61.2' };
package/wrapBytes.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { u8aIsWrapped, u8aUnwrapBytes, u8aWrapBytes } from '@polkadot/util';
2
- export declare const ETHEREUM: Uint8Array;
3
- export declare const POSTFIX: Uint8Array;
4
- export declare const PREFIX: Uint8Array;
2
+ export declare const ETHEREUM: Uint8Array<ArrayBufferLike>;
3
+ export declare const POSTFIX: Uint8Array<ArrayBufferLike>;
4
+ export declare const PREFIX: Uint8Array<ArrayBufferLike>;
5
5
  export declare const isWrapped: typeof u8aIsWrapped;
6
6
  export declare const unwrapBytes: typeof u8aUnwrapBytes;
7
7
  export declare const wrapBytes: typeof u8aWrapBytes;