@tezos-x/octez.connect-utils 0.9.0 → 4.8.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.
- package/README.md +1 -1
- package/dist/cjs/wallet-list-loader.d.ts +11 -0
- package/dist/cjs/wallet-list-loader.js +15 -0
- package/dist/cjs/wallet-list-loader.js.map +1 -0
- package/dist/esm/wallet-list-loader.d.ts +11 -0
- package/dist/esm/wallet-list-loader.js +12 -0
- package/dist/esm/wallet-list-loader.js.map +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# `@tezos-x/octez.connect-utils`
|
|
2
2
|
|
|
3
|
-
This package is part of the `@tezos-x/octez.connect-sdk` project. [Read more](https://github.com/trilitech/octez.connect
|
|
3
|
+
This package is part of the `@tezos-x/octez.connect-sdk` project. [Read more](https://github.com/trilitech/octez.connect)
|
|
4
4
|
|
|
5
5
|
## Introduction
|
|
6
6
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExtensionApp, DesktopApp, WebApp, App } from '@tezos-x/octez.connect-types';
|
|
2
|
+
export interface WalletLists {
|
|
3
|
+
extensionList: ExtensionApp[];
|
|
4
|
+
desktopList: DesktopApp[];
|
|
5
|
+
webList: WebApp[];
|
|
6
|
+
iOSList: App[];
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Loads and type-casts wallet lists from a registry JSON
|
|
10
|
+
*/
|
|
11
|
+
export declare function loadWalletLists(registry: any): WalletLists;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.loadWalletLists = loadWalletLists;
|
|
4
|
+
/**
|
|
5
|
+
* Loads and type-casts wallet lists from a registry JSON
|
|
6
|
+
*/
|
|
7
|
+
function loadWalletLists(registry) {
|
|
8
|
+
return {
|
|
9
|
+
extensionList: registry.extensionList,
|
|
10
|
+
desktopList: registry.desktopList,
|
|
11
|
+
webList: registry.webList,
|
|
12
|
+
iOSList: registry.iOSList
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=wallet-list-loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wallet-list-loader.js","sourceRoot":"","sources":["../../src/wallet-list-loader.ts"],"names":[],"mappings":";;AAYA,0CAOC;AAVD;;GAEG;AACH,SAAgB,eAAe,CAAC,QAAa;IAC3C,OAAO;QACL,aAAa,EAAE,QAAQ,CAAC,aAA+B;QACvD,WAAW,EAAE,QAAQ,CAAC,WAA2B;QACjD,OAAO,EAAE,QAAQ,CAAC,OAAmB;QACrC,OAAO,EAAE,QAAQ,CAAC,OAAgB;KACnC,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExtensionApp, DesktopApp, WebApp, App } from '@tezos-x/octez.connect-types';
|
|
2
|
+
export interface WalletLists {
|
|
3
|
+
extensionList: ExtensionApp[];
|
|
4
|
+
desktopList: DesktopApp[];
|
|
5
|
+
webList: WebApp[];
|
|
6
|
+
iOSList: App[];
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Loads and type-casts wallet lists from a registry JSON
|
|
10
|
+
*/
|
|
11
|
+
export declare function loadWalletLists(registry: any): WalletLists;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Loads and type-casts wallet lists from a registry JSON
|
|
3
|
+
*/
|
|
4
|
+
export function loadWalletLists(registry) {
|
|
5
|
+
return {
|
|
6
|
+
extensionList: registry.extensionList,
|
|
7
|
+
desktopList: registry.desktopList,
|
|
8
|
+
webList: registry.webList,
|
|
9
|
+
iOSList: registry.iOSList
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=wallet-list-loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wallet-list-loader.js","sourceRoot":"","sources":["../../src/wallet-list-loader.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,QAAa;IAC3C,OAAO;QACL,aAAa,EAAE,QAAQ,CAAC,aAA+B;QACvD,WAAW,EAAE,QAAQ,CAAC,WAA2B;QACjD,OAAO,EAAE,QAAQ,CAAC,OAAmB;QACrC,OAAO,EAAE,QAAQ,CAAC,OAAgB;KACnC,CAAA;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tezos-x/octez.connect-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.8.1",
|
|
4
4
|
"description": "This package contains utility functions that are used throughout the octez.connect-sdk",
|
|
5
5
|
"author": "Andreas Gassmann <a.gassmann@papers.ch>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"@stablelib/utf8": "^2.0.1",
|
|
40
40
|
"bs58check": "4.0.0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "d2293b27e30276d33ddc9562689162bcf8c6ba2f"
|
|
43
43
|
}
|