applesauce-wallet 0.0.0-next-20250501170544 → 0.0.0-next-20250526151506
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/__tests__/exports.test.d.ts +1 -0
- package/dist/__tests__/exports.test.js +16 -0
- package/dist/actions/__tests__/exports.test.d.ts +1 -0
- package/dist/actions/__tests__/exports.test.js +17 -0
- package/dist/blueprints/__tests__/exports.test.d.ts +1 -0
- package/dist/blueprints/__tests__/exports.test.js +13 -0
- package/dist/helpers/__tests__/exports.test.d.ts +1 -0
- package/dist/helpers/__tests__/exports.test.js +42 -0
- package/dist/operations/__tests__/exports.test.d.ts +1 -0
- package/dist/operations/__tests__/exports.test.js +12 -0
- package/dist/operations/event/__tests__/exports.test.d.ts +1 -0
- package/dist/operations/event/__tests__/exports.test.js +14 -0
- package/dist/operations/tag/__tests__/exports.test.d.ts +1 -0
- package/dist/operations/tag/__tests__/exports.test.js +18 -0
- package/dist/queries/__tests__/exports.test.d.ts +1 -0
- package/dist/queries/__tests__/exports.test.js +15 -0
- package/package.json +6 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import * as exports from "../index.js";
|
|
3
|
+
describe("exports", () => {
|
|
4
|
+
it("should export the expected functions", () => {
|
|
5
|
+
expect(Object.keys(exports).sort()).toMatchInlineSnapshot(`
|
|
6
|
+
[
|
|
7
|
+
"Actions",
|
|
8
|
+
"Blueprints",
|
|
9
|
+
"EventOperations",
|
|
10
|
+
"Helpers",
|
|
11
|
+
"Queries",
|
|
12
|
+
"TagOperations",
|
|
13
|
+
]
|
|
14
|
+
`);
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import * as exports from "../index.js";
|
|
3
|
+
describe("exports", () => {
|
|
4
|
+
it("should export the expected functions", () => {
|
|
5
|
+
expect(Object.keys(exports).sort()).toMatchInlineSnapshot(`
|
|
6
|
+
[
|
|
7
|
+
"CompleteSpend",
|
|
8
|
+
"ConsolidateTokens",
|
|
9
|
+
"CreateWallet",
|
|
10
|
+
"ReceiveToken",
|
|
11
|
+
"RolloverTokens",
|
|
12
|
+
"UnlockWallet",
|
|
13
|
+
"WalletAddPrivateKey",
|
|
14
|
+
]
|
|
15
|
+
`);
|
|
16
|
+
});
|
|
17
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import * as exports from "../index.js";
|
|
3
|
+
describe("exports", () => {
|
|
4
|
+
it("should export the expected functions", () => {
|
|
5
|
+
expect(Object.keys(exports).sort()).toMatchInlineSnapshot(`
|
|
6
|
+
[
|
|
7
|
+
"WalletBackupBlueprint",
|
|
8
|
+
"WalletBlueprint",
|
|
9
|
+
"WalletTokenBlueprint",
|
|
10
|
+
]
|
|
11
|
+
`);
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import * as exports from "../index.js";
|
|
3
|
+
describe("exports", () => {
|
|
4
|
+
it("should export the expected functions", () => {
|
|
5
|
+
expect(Object.keys(exports).sort()).toMatchInlineSnapshot(`
|
|
6
|
+
[
|
|
7
|
+
"ANIMATED_QR_FRAGMENTS",
|
|
8
|
+
"ANIMATED_QR_INTERVAL",
|
|
9
|
+
"HistoryContentSymbol",
|
|
10
|
+
"TokenContentSymbol",
|
|
11
|
+
"WALLET_BACKUP_KIND",
|
|
12
|
+
"WALLET_HISTORY_KIND",
|
|
13
|
+
"WALLET_KIND",
|
|
14
|
+
"WALLET_TOKEN_KIND",
|
|
15
|
+
"WalletMintsSymbol",
|
|
16
|
+
"WalletPrivateKeySymbol",
|
|
17
|
+
"decodeTokenFromEmojiString",
|
|
18
|
+
"dumbTokenSelection",
|
|
19
|
+
"encodeTokenToEmoji",
|
|
20
|
+
"getHistoryContent",
|
|
21
|
+
"getHistoryRedeemed",
|
|
22
|
+
"getProofUID",
|
|
23
|
+
"getTokenContent",
|
|
24
|
+
"getTokenProofsTotal",
|
|
25
|
+
"getWalletMints",
|
|
26
|
+
"getWalletPrivateKey",
|
|
27
|
+
"ignoreDuplicateProofs",
|
|
28
|
+
"isHistoryContentLocked",
|
|
29
|
+
"isTokenContentLocked",
|
|
30
|
+
"isWalletLocked",
|
|
31
|
+
"lockHistoryContent",
|
|
32
|
+
"lockTokenContent",
|
|
33
|
+
"lockWallet",
|
|
34
|
+
"receiveAnimated",
|
|
35
|
+
"sendAnimated",
|
|
36
|
+
"unlockHistoryContent",
|
|
37
|
+
"unlockTokenContent",
|
|
38
|
+
"unlockWallet",
|
|
39
|
+
]
|
|
40
|
+
`);
|
|
41
|
+
});
|
|
42
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import * as exports from "../index.js";
|
|
3
|
+
describe("exports", () => {
|
|
4
|
+
it("should export the expected functions", () => {
|
|
5
|
+
expect(Object.keys(exports).sort()).toMatchInlineSnapshot(`
|
|
6
|
+
[
|
|
7
|
+
"EventOperations",
|
|
8
|
+
"TagOperations",
|
|
9
|
+
]
|
|
10
|
+
`);
|
|
11
|
+
});
|
|
12
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import * as exports from "../index.js";
|
|
3
|
+
describe("exports", () => {
|
|
4
|
+
it("should export the expected functions", () => {
|
|
5
|
+
expect(Object.keys(exports).sort()).toMatchInlineSnapshot(`
|
|
6
|
+
[
|
|
7
|
+
"setHistoryContent",
|
|
8
|
+
"setHistoryRedeemed",
|
|
9
|
+
"setTokenContent",
|
|
10
|
+
"setWalletBackupContent",
|
|
11
|
+
]
|
|
12
|
+
`);
|
|
13
|
+
});
|
|
14
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import * as exports from "../index.js";
|
|
3
|
+
describe("exports", () => {
|
|
4
|
+
it("should export the expected functions", () => {
|
|
5
|
+
expect(Object.keys(exports).sort()).toMatchInlineSnapshot(`
|
|
6
|
+
[
|
|
7
|
+
"includeHistoryCreatedTags",
|
|
8
|
+
"includeHistoryRedeemedTags",
|
|
9
|
+
"setHistoryAmountTag",
|
|
10
|
+
"setHistoryDirectionTag",
|
|
11
|
+
"setHistoryFeeTag",
|
|
12
|
+
"setHistoryMintTag",
|
|
13
|
+
"setMintTags",
|
|
14
|
+
"setPrivateKeyTag",
|
|
15
|
+
]
|
|
16
|
+
`);
|
|
17
|
+
});
|
|
18
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import * as exports from "../index.js";
|
|
3
|
+
describe("exports", () => {
|
|
4
|
+
it("should export the expected functions", () => {
|
|
5
|
+
expect(Object.keys(exports).sort()).toMatchInlineSnapshot(`
|
|
6
|
+
[
|
|
7
|
+
"WalletBalanceQuery",
|
|
8
|
+
"WalletHistoryQuery",
|
|
9
|
+
"WalletQuery",
|
|
10
|
+
"WalletRedeemedQuery",
|
|
11
|
+
"WalletTokensQuery",
|
|
12
|
+
]
|
|
13
|
+
`);
|
|
14
|
+
});
|
|
15
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "applesauce-wallet",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20250526151506",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -80,16 +80,16 @@
|
|
|
80
80
|
"@cashu/cashu-ts": "2.0.0-rc1",
|
|
81
81
|
"@gandlaf21/bc-ur": "^1.1.12",
|
|
82
82
|
"@noble/hashes": "^1.7.1",
|
|
83
|
-
"applesauce-actions": "0.0.0-next-
|
|
84
|
-
"applesauce-core": "
|
|
85
|
-
"applesauce-factory": "0.0.0-next-
|
|
86
|
-
"nostr-tools": "^2.
|
|
83
|
+
"applesauce-actions": "0.0.0-next-20250526151506",
|
|
84
|
+
"applesauce-core": "0.0.0-next-20250526151506",
|
|
85
|
+
"applesauce-factory": "0.0.0-next-20250526151506",
|
|
86
|
+
"nostr-tools": "^2.13",
|
|
87
87
|
"rxjs": "^7.8.1"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@hirez_io/observer-spy": "^2.2.0",
|
|
91
91
|
"@types/debug": "^4.1.12",
|
|
92
|
-
"applesauce-signers": "
|
|
92
|
+
"applesauce-signers": "0.0.0-next-20250526151506",
|
|
93
93
|
"typescript": "^5.8.3",
|
|
94
94
|
"vitest": "^3.1.1"
|
|
95
95
|
},
|