@ledgerhq/swift-bridge-hw-app-solana 1.0.1-nightly.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.
@@ -0,0 +1,4 @@
1
+
2
+ > @ledgerhq/swift-bridge-hw-app-solana@1.0.0 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/swift-bridge-hw-app-solana
3
+ > tsc && tsc -m ES6 --outDir lib-es
4
+
package/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ # @ledgerhq/swift-bridge-hw-app-solana
2
+
3
+ ## 1.0.1-nightly.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2620](https://github.com/LedgerHQ/ledger-live/pull/2620) [`d0e66e1d9a`](https://github.com/LedgerHQ/ledger-live/commit/d0e66e1d9a72bed65151f106bdfb2f1edd981265) Thanks [@harrisonf-ledger](https://github.com/harrisonf-ledger)! - Add swift-bridge-hw-transport-ble, swift-bridge-hw-app-solana, swift-bridge-hw-app-eth packages
8
+
9
+ - Updated dependencies [[`d0e66e1d9a`](https://github.com/LedgerHQ/ledger-live/commit/d0e66e1d9a72bed65151f106bdfb2f1edd981265)]:
10
+ - @ledgerhq/swift-bridge-hw-transport-ble@1.0.1-nightly.0
package/README.md ADDED
@@ -0,0 +1,10 @@
1
+ <img src="https://user-images.githubusercontent.com/3273751/151214602-f5153588-1911-4456-ae65-604d56821b36.png" height="80" />
2
+
3
+ [Github](https://github.com/LedgerHQ/ledger-live),
4
+ [Discord](https://developers.ledger.com/discord/)
5
+
6
+ ## @ledgerhq/swift-bridge-hw-app-solana
7
+
8
+ **Package to facilitate bundling hw-app-solana in the SolanaWrapper Swift package**
9
+
10
+ This package provides a bridge to allow bundling hw-app-solana in the [SolanaWrapper Swift package](https://github.com/LedgerHQ/ios-ble-wrapper-solana).
package/jest.config.ts ADDED
@@ -0,0 +1,6 @@
1
+ import baseConfig from "../../jest.config";
2
+
3
+ export default {
4
+ ...baseConfig,
5
+ rootDir: __dirname,
6
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Wrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Wrapper.d.ts","sourceRoot":"","sources":["../src/Wrapper.ts"],"names":[],"mappings":""}
package/lib/Wrapper.js ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ exports.__esModule = true;
6
+ var swift_bridge_hw_transport_ble_1 = __importDefault(require("@ledgerhq/swift-bridge-hw-transport-ble"));
7
+ var hw_app_solana_1 = __importDefault(require("@ledgerhq/hw-app-solana"));
8
+ module.exports = { TransportBLESwift: swift_bridge_hw_transport_ble_1["default"], Solana: hw_app_solana_1["default"] };
9
+ //# sourceMappingURL=Wrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Wrapper.js","sourceRoot":"","sources":["../src/Wrapper.ts"],"names":[],"mappings":";;;;;AAAA,0GAAwE;AACxE,0EAA6C;AAE7C,MAAM,CAAC,OAAO,GAAG,EAAE,iBAAiB,EAAE,0CAAiB,EAAE,MAAM,EAAE,0BAAM,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Wrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Wrapper.d.ts","sourceRoot":"","sources":["../src/Wrapper.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import TransportBLESwift from "@ledgerhq/swift-bridge-hw-transport-ble";
2
+ import Solana from "@ledgerhq/hw-app-solana";
3
+ module.exports = { TransportBLESwift: TransportBLESwift, Solana: Solana };
4
+ //# sourceMappingURL=Wrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Wrapper.js","sourceRoot":"","sources":["../src/Wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,yCAAyC,CAAC;AACxE,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAE7C,MAAM,CAAC,OAAO,GAAG,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"}
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "@ledgerhq/swift-bridge-hw-app-solana",
3
+ "version": "1.0.1-nightly.0",
4
+ "description": "Package to facilitate bundling hw-app-solana in the SolanaWrapper Swift package",
5
+ "keywords": [
6
+ "Ledger",
7
+ "LedgerWallet",
8
+ "NanoX",
9
+ "Stax",
10
+ "Hardware Wallet",
11
+ "bluetooth",
12
+ "swift",
13
+ "ios"
14
+ ],
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/LedgerHQ/ledger-live"
18
+ },
19
+ "bugs": {
20
+ "url": "https://github.com/LedgerHQ/ledger-live/issues"
21
+ },
22
+ "homepage": "https://github.com/LedgerHQ/ledger-live",
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
26
+ "main": "lib/Wrapper.js",
27
+ "module": "lib-es/Wrapper.js",
28
+ "types": "lib/Wrapper.d.ts",
29
+ "license": "Apache-2.0",
30
+ "dependencies": {
31
+ "@ledgerhq/swift-bridge-hw-transport-ble": "^1.0.1-nightly.0",
32
+ "@ledgerhq/hw-app-solana": "^7.0.6-nightly.0"
33
+ },
34
+ "gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec",
35
+ "scripts": {
36
+ "clean": "rimraf lib lib-es",
37
+ "build": "tsc && tsc -m ES6 --outDir lib-es",
38
+ "prewatch": "pnpm build",
39
+ "watch": "tsc --watch",
40
+ "lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx",
41
+ "lint:fix": "pnpm lint --fix",
42
+ "test": "jest"
43
+ }
44
+ }
package/src/Wrapper.ts ADDED
@@ -0,0 +1,4 @@
1
+ import TransportBLESwift from "@ledgerhq/swift-bridge-hw-transport-ble";
2
+ import Solana from "@ledgerhq/hw-app-solana";
3
+
4
+ module.exports = { TransportBLESwift: TransportBLESwift, Solana: Solana };
package/tsconfig.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "lib"
5
+ },
6
+ "include": ["src/**/*"]
7
+ }