@alephium/get-extension-wallet 0.3.0 → 0.4.0-rc.0
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/dist/getAlephium.d.ts +1 -2
- package/dist/getAlephium.d.ts.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -31
- package/dist/types.d.ts +3 -4
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/getAlephium.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AlephiumWindowObject } from './types';
|
|
2
|
-
import type { DisconnectOptions, GetAlephiumWalletOptions, IGetAlephiumWallet } from './types';
|
|
1
|
+
import type { AlephiumWindowObject, DisconnectOptions, GetAlephiumWalletOptions, IGetAlephiumWallet } from './types';
|
|
3
2
|
declare class GetAlephiumWallet implements IGetAlephiumWallet {
|
|
4
3
|
#private;
|
|
5
4
|
connect: (options?: GetAlephiumWalletOptions) => Promise<AlephiumWindowObject | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAlephium.d.ts","sourceRoot":"","sources":["../src/getAlephium.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getAlephium.d.ts","sourceRoot":"","sources":["../src/getAlephium.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EAGjB,wBAAwB,EACxB,kBAAkB,EACnB,MAAM,SAAS,CAAA;AAGhB,cAAM,iBAAkB,YAAW,kBAAkB;;IAGnD,OAAO,aAAoB,wBAAwB,KAAG,QAAQ,oBAAoB,GAAG,SAAS,CAAC,CA4D9F;;IAMD,UAAU,aAAc,iBAAiB,KAAG,OAAO,CAWlD;IAED,WAAW,QAAO,oBAAoB,CAwKrC;IAED,mBAAmB,CACjB,OAAO,CAAC,EAAE,IAAI,CAAC,wBAAwB,EAAE,UAAU,GAAG,cAAc,CAAC,GACpE,OAAO,CAAC,oBAAoB,EAAE,CAAC;CAmHnC;AAED,eAAO,MAAM,GAAG,mBAA0B,CAAA;AAC1C,eAAO,MAAM,WAAW,QAlSJ,oBAkSsB,CAAA;AAC1C,eAAO,MAAM,OAAO,aAlXS,wBAAwB,KAAG,QAAQ,oBAAoB,GAAG,SAAS,CAkX9D,CAAA;AAClC,eAAO,MAAM,UAAU,aAjTG,iBAAiB,KAAG,OAiTN,CAAA;AACxC,eAAO,MAAM,mBAAmB,aA1HlB,KAAK,wBAAwB,EAAE,UAAU,GAAG,cAAc,CAAC,KACpE,QAAQ,oBAAoB,EAAE,CAyHuB,CAAA;AAE1D,cAAc,SAAS,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { AlephiumWindowObject, GetAlephiumWalletOptions } from './getAlephium';
|
|
2
2
|
import type { DisconnectOptions } from './types';
|
|
3
|
-
export type { EventHandler, EventType, GetAlephiumWalletOptions, IGetAlephiumWallet, AlephiumWindowObject, IStorageWrapper, ModalOptions, WalletProvider } from './getAlephium';
|
|
3
|
+
export type { EventHandler, EventType, GetAlephiumWalletOptions, IGetAlephiumWallet, AlephiumWindowObject as AlephiumWindowObject, IStorageWrapper, ModalOptions, WalletProvider } from './getAlephium';
|
|
4
4
|
/**
|
|
5
5
|
* Get the Alephium window object.
|
|
6
6
|
*
|
|
7
7
|
* @deprecated Please use the connect export and the returned wallet object instead.
|
|
8
|
-
* @returns {Promise<
|
|
8
|
+
* @returns {Promise<AlephiumWindowObject>}
|
|
9
9
|
*/
|
|
10
10
|
export declare const getAlephium: () => AlephiumWindowObject;
|
|
11
11
|
/**
|
|
12
12
|
* Connect to a Alephium wallet.
|
|
13
13
|
*
|
|
14
14
|
* @param {GetAlephiumWalletOptions} [options]
|
|
15
|
-
* @returns {Promise<
|
|
15
|
+
* @returns {Promise<AlephiumWindowObject>}
|
|
16
16
|
*/
|
|
17
17
|
export declare const connect: (options?: GetAlephiumWalletOptions) => Promise<AlephiumWindowObject | undefined>;
|
|
18
18
|
/**
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAA;AAEnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEhD,YAAY,EACV,YAAY,EACZ,SAAS,EACT,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAA;AAEnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEhD,YAAY,EACV,YAAY,EACZ,SAAS,EACT,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,IAAI,oBAAoB,EAC5C,eAAe,EACf,YAAY,EACZ,cAAc,EACf,MAAM,eAAe,CAAA;AAEtB;;;;;GAKG;AACH,eAAO,MAAM,WAAW,QAAO,oBAS9B,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,OAAO,aAAc,wBAAwB,KAAG,QAAQ,oBAAoB,GAAG,SAAS,CAKpG,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,UAAU,aAAc,iBAAiB,KAAG,OAExD,CAAA"}
|