@sats-connect/core 0.7.1-b0a037d → 0.7.1-e16b520

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/index.d.mts CHANGED
@@ -156,22 +156,14 @@ declare enum AddressType {
156
156
  starknet = "starknet",
157
157
  spark = "spark"
158
158
  }
159
- type AddressWithPublicKey = AddressPurpose.Payment | AddressPurpose.Ordinals | AddressPurpose.Stacks;
160
- type AddressWithoutPublicKey = Exclude<AddressPurpose, AddressWithPublicKey>;
161
159
  declare const addressSchema: v.ObjectSchema<{
162
160
  readonly address: v.StringSchema<undefined>;
163
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
161
+ readonly publicKey: v.StringSchema<undefined>;
164
162
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
165
163
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
166
164
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
167
165
  }, undefined>;
168
- type Address = Exclude<v.InferOutput<typeof addressSchema>, 'purpose' | 'publicKey'> & ({
169
- purpose: AddressWithPublicKey;
170
- publicKey: string;
171
- } | {
172
- purpose: AddressWithoutPublicKey;
173
- publicKey?: undefined;
174
- });
166
+ type Address = v.InferOutput<typeof addressSchema>;
175
167
  interface GetAddressResponse {
176
168
  addresses: Address[];
177
169
  }
@@ -281,7 +273,7 @@ declare const accountChangeSchema: v.ObjectSchema<{
281
273
  readonly type: v.LiteralSchema<"accountChange", undefined>;
282
274
  readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
283
275
  readonly address: v.StringSchema<undefined>;
284
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
276
+ readonly publicKey: v.StringSchema<undefined>;
285
277
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
286
278
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
287
279
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -299,7 +291,7 @@ declare const networkChangeSchema: v.ObjectSchema<{
299
291
  }, undefined>;
300
292
  readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
301
293
  readonly address: v.StringSchema<undefined>;
302
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
294
+ readonly publicKey: v.StringSchema<undefined>;
303
295
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
304
296
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
305
297
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -315,7 +307,7 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
315
307
  readonly type: v.LiteralSchema<"accountChange", undefined>;
316
308
  readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
317
309
  readonly address: v.StringSchema<undefined>;
318
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
310
+ readonly publicKey: v.StringSchema<undefined>;
319
311
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
320
312
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
321
313
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -330,7 +322,7 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
330
322
  }, undefined>;
331
323
  readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
332
324
  readonly address: v.StringSchema<undefined>;
333
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
325
+ readonly publicKey: v.StringSchema<undefined>;
334
326
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
335
327
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
336
328
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -447,7 +439,7 @@ declare const getAddressesResultSchema: v.ObjectSchema<{
447
439
  */
448
440
  readonly addresses: v.ArraySchema<v.ObjectSchema<{
449
441
  readonly address: v.StringSchema<undefined>;
450
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
442
+ readonly publicKey: v.StringSchema<undefined>;
451
443
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
452
444
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
453
445
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -646,7 +638,7 @@ type GetAccountsParams = v.InferOutput<typeof getAccountsParamsSchema>;
646
638
  declare const getAccountsResultSchema: v.ArraySchema<v.ObjectSchema<{
647
639
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
648
640
  readonly address: v.StringSchema<undefined>;
649
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
641
+ readonly publicKey: v.StringSchema<undefined>;
650
642
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
651
643
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
652
644
  }, undefined>, undefined>;
@@ -1031,7 +1023,7 @@ declare const sparkGetAddressesResultSchema: v.ObjectSchema<{
1031
1023
  */
1032
1024
  readonly addresses: v.ArraySchema<v.ObjectSchema<{
1033
1025
  readonly address: v.StringSchema<undefined>;
1034
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1026
+ readonly publicKey: v.StringSchema<undefined>;
1035
1027
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
1036
1028
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
1037
1029
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -1075,7 +1067,6 @@ declare const sparkGetBalanceResultSchema: v.ObjectSchema<{
1075
1067
  readonly balance: v.StringSchema<undefined>;
1076
1068
  readonly tokenMetadata: v.ObjectSchema<{
1077
1069
  readonly tokenIdentifier: v.StringSchema<undefined>;
1078
- readonly tokenPublicKey: v.StringSchema<undefined>;
1079
1070
  readonly tokenName: v.StringSchema<undefined>;
1080
1071
  readonly tokenTicker: v.StringSchema<undefined>;
1081
1072
  readonly decimals: v.NumberSchema<undefined>;
@@ -1137,7 +1128,7 @@ declare const sparkTransferTokenParamsSchema: v.ObjectSchema<{
1137
1128
  */
1138
1129
  readonly tokenAmount: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
1139
1130
  /**
1140
- * The token identifier.
1131
+ * The Bech32m token identifier.
1141
1132
  */
1142
1133
  readonly tokenIdentifier: v.StringSchema<undefined>;
1143
1134
  /**
@@ -1161,7 +1152,7 @@ declare const sparkTransferTokenRequestMessageSchema: v.ObjectSchema<{
1161
1152
  */
1162
1153
  readonly tokenAmount: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
1163
1154
  /**
1164
- * The token identifier.
1155
+ * The Bech32m token identifier.
1165
1156
  */
1166
1157
  readonly tokenIdentifier: v.StringSchema<undefined>;
1167
1158
  /**
@@ -1394,7 +1385,7 @@ declare const stxGetAddressesResultSchema: v.ObjectSchema<{
1394
1385
  */
1395
1386
  readonly addresses: v.ArraySchema<v.ObjectSchema<{
1396
1387
  readonly address: v.StringSchema<undefined>;
1397
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1388
+ readonly publicKey: v.StringSchema<undefined>;
1398
1389
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
1399
1390
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
1400
1391
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -1938,7 +1929,7 @@ declare const getAccountResultSchema: v.ObjectSchema<{
1938
1929
  readonly id: v.StringSchema<undefined>;
1939
1930
  readonly addresses: v.ArraySchema<v.ObjectSchema<{
1940
1931
  readonly address: v.StringSchema<undefined>;
1941
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1932
+ readonly publicKey: v.StringSchema<undefined>;
1942
1933
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
1943
1934
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
1944
1935
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -1989,7 +1980,7 @@ declare const connectResultSchema: v.ObjectSchema<{
1989
1980
  readonly id: v.StringSchema<undefined>;
1990
1981
  readonly addresses: v.ArraySchema<v.ObjectSchema<{
1991
1982
  readonly address: v.StringSchema<undefined>;
1992
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1983
+ readonly publicKey: v.StringSchema<undefined>;
1993
1984
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
1994
1985
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
1995
1986
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -2114,7 +2105,7 @@ type StxRequestMethod = keyof StxRequests;
2114
2105
  type SparkRequests = {
2115
2106
  [sparkGetAddressesMethodName]: SparkGetAddresses;
2116
2107
  [sparkGetBalanceMethodName]: SparkGetBalance;
2117
- [sparkTransferMethodName]: SparkGetBalance;
2108
+ [sparkTransferMethodName]: SparkTransfer;
2118
2109
  [sparkTransferTokenMethodName]: SparkTransferToken;
2119
2110
  };
2120
2111
  type SparkRequestMethod = keyof SparkRequests;
package/dist/index.d.ts CHANGED
@@ -156,22 +156,14 @@ declare enum AddressType {
156
156
  starknet = "starknet",
157
157
  spark = "spark"
158
158
  }
159
- type AddressWithPublicKey = AddressPurpose.Payment | AddressPurpose.Ordinals | AddressPurpose.Stacks;
160
- type AddressWithoutPublicKey = Exclude<AddressPurpose, AddressWithPublicKey>;
161
159
  declare const addressSchema: v.ObjectSchema<{
162
160
  readonly address: v.StringSchema<undefined>;
163
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
161
+ readonly publicKey: v.StringSchema<undefined>;
164
162
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
165
163
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
166
164
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
167
165
  }, undefined>;
168
- type Address = Exclude<v.InferOutput<typeof addressSchema>, 'purpose' | 'publicKey'> & ({
169
- purpose: AddressWithPublicKey;
170
- publicKey: string;
171
- } | {
172
- purpose: AddressWithoutPublicKey;
173
- publicKey?: undefined;
174
- });
166
+ type Address = v.InferOutput<typeof addressSchema>;
175
167
  interface GetAddressResponse {
176
168
  addresses: Address[];
177
169
  }
@@ -281,7 +273,7 @@ declare const accountChangeSchema: v.ObjectSchema<{
281
273
  readonly type: v.LiteralSchema<"accountChange", undefined>;
282
274
  readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
283
275
  readonly address: v.StringSchema<undefined>;
284
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
276
+ readonly publicKey: v.StringSchema<undefined>;
285
277
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
286
278
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
287
279
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -299,7 +291,7 @@ declare const networkChangeSchema: v.ObjectSchema<{
299
291
  }, undefined>;
300
292
  readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
301
293
  readonly address: v.StringSchema<undefined>;
302
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
294
+ readonly publicKey: v.StringSchema<undefined>;
303
295
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
304
296
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
305
297
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -315,7 +307,7 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
315
307
  readonly type: v.LiteralSchema<"accountChange", undefined>;
316
308
  readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
317
309
  readonly address: v.StringSchema<undefined>;
318
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
310
+ readonly publicKey: v.StringSchema<undefined>;
319
311
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
320
312
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
321
313
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -330,7 +322,7 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
330
322
  }, undefined>;
331
323
  readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
332
324
  readonly address: v.StringSchema<undefined>;
333
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
325
+ readonly publicKey: v.StringSchema<undefined>;
334
326
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
335
327
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
336
328
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -447,7 +439,7 @@ declare const getAddressesResultSchema: v.ObjectSchema<{
447
439
  */
448
440
  readonly addresses: v.ArraySchema<v.ObjectSchema<{
449
441
  readonly address: v.StringSchema<undefined>;
450
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
442
+ readonly publicKey: v.StringSchema<undefined>;
451
443
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
452
444
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
453
445
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -646,7 +638,7 @@ type GetAccountsParams = v.InferOutput<typeof getAccountsParamsSchema>;
646
638
  declare const getAccountsResultSchema: v.ArraySchema<v.ObjectSchema<{
647
639
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
648
640
  readonly address: v.StringSchema<undefined>;
649
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
641
+ readonly publicKey: v.StringSchema<undefined>;
650
642
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
651
643
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
652
644
  }, undefined>, undefined>;
@@ -1031,7 +1023,7 @@ declare const sparkGetAddressesResultSchema: v.ObjectSchema<{
1031
1023
  */
1032
1024
  readonly addresses: v.ArraySchema<v.ObjectSchema<{
1033
1025
  readonly address: v.StringSchema<undefined>;
1034
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1026
+ readonly publicKey: v.StringSchema<undefined>;
1035
1027
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
1036
1028
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
1037
1029
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -1075,7 +1067,6 @@ declare const sparkGetBalanceResultSchema: v.ObjectSchema<{
1075
1067
  readonly balance: v.StringSchema<undefined>;
1076
1068
  readonly tokenMetadata: v.ObjectSchema<{
1077
1069
  readonly tokenIdentifier: v.StringSchema<undefined>;
1078
- readonly tokenPublicKey: v.StringSchema<undefined>;
1079
1070
  readonly tokenName: v.StringSchema<undefined>;
1080
1071
  readonly tokenTicker: v.StringSchema<undefined>;
1081
1072
  readonly decimals: v.NumberSchema<undefined>;
@@ -1137,7 +1128,7 @@ declare const sparkTransferTokenParamsSchema: v.ObjectSchema<{
1137
1128
  */
1138
1129
  readonly tokenAmount: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
1139
1130
  /**
1140
- * The token identifier.
1131
+ * The Bech32m token identifier.
1141
1132
  */
1142
1133
  readonly tokenIdentifier: v.StringSchema<undefined>;
1143
1134
  /**
@@ -1161,7 +1152,7 @@ declare const sparkTransferTokenRequestMessageSchema: v.ObjectSchema<{
1161
1152
  */
1162
1153
  readonly tokenAmount: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
1163
1154
  /**
1164
- * The token identifier.
1155
+ * The Bech32m token identifier.
1165
1156
  */
1166
1157
  readonly tokenIdentifier: v.StringSchema<undefined>;
1167
1158
  /**
@@ -1394,7 +1385,7 @@ declare const stxGetAddressesResultSchema: v.ObjectSchema<{
1394
1385
  */
1395
1386
  readonly addresses: v.ArraySchema<v.ObjectSchema<{
1396
1387
  readonly address: v.StringSchema<undefined>;
1397
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1388
+ readonly publicKey: v.StringSchema<undefined>;
1398
1389
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
1399
1390
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
1400
1391
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -1938,7 +1929,7 @@ declare const getAccountResultSchema: v.ObjectSchema<{
1938
1929
  readonly id: v.StringSchema<undefined>;
1939
1930
  readonly addresses: v.ArraySchema<v.ObjectSchema<{
1940
1931
  readonly address: v.StringSchema<undefined>;
1941
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1932
+ readonly publicKey: v.StringSchema<undefined>;
1942
1933
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
1943
1934
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
1944
1935
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -1989,7 +1980,7 @@ declare const connectResultSchema: v.ObjectSchema<{
1989
1980
  readonly id: v.StringSchema<undefined>;
1990
1981
  readonly addresses: v.ArraySchema<v.ObjectSchema<{
1991
1982
  readonly address: v.StringSchema<undefined>;
1992
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1983
+ readonly publicKey: v.StringSchema<undefined>;
1993
1984
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
1994
1985
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
1995
1986
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
@@ -2114,7 +2105,7 @@ type StxRequestMethod = keyof StxRequests;
2114
2105
  type SparkRequests = {
2115
2106
  [sparkGetAddressesMethodName]: SparkGetAddresses;
2116
2107
  [sparkGetBalanceMethodName]: SparkGetBalance;
2117
- [sparkTransferMethodName]: SparkGetBalance;
2108
+ [sparkTransferMethodName]: SparkTransfer;
2118
2109
  [sparkTransferTokenMethodName]: SparkTransferToken;
2119
2110
  };
2120
2111
  type SparkRequestMethod = keyof SparkRequests;
package/dist/index.js CHANGED
@@ -268,7 +268,7 @@ var AddressType = /* @__PURE__ */ ((AddressType3) => {
268
268
  })(AddressType || {});
269
269
  var addressSchema = v2.object({
270
270
  address: v2.string(),
271
- publicKey: v2.optional(v2.string()),
271
+ publicKey: v2.string(),
272
272
  purpose: v2.enum(AddressPurpose),
273
273
  addressType: v2.enum(AddressType),
274
274
  walletType: walletTypeSchema
@@ -1081,7 +1081,6 @@ var sparkGetBalanceResultSchema = v13.object({
1081
1081
  balance: v13.string(),
1082
1082
  tokenMetadata: v13.object({
1083
1083
  tokenIdentifier: v13.string(),
1084
- tokenPublicKey: v13.string(),
1085
1084
  tokenName: v13.string(),
1086
1085
  tokenTicker: v13.string(),
1087
1086
  decimals: v13.number(),
@@ -1136,7 +1135,7 @@ var sparkTransferTokenParamsSchema = v15.object({
1136
1135
  */
1137
1136
  tokenAmount: v15.union([v15.number(), v15.string()]),
1138
1137
  /**
1139
- * The token identifier.
1138
+ * The Bech32m token identifier.
1140
1139
  */
1141
1140
  tokenIdentifier: v15.string(),
1142
1141
  /**
package/dist/index.mjs CHANGED
@@ -34,7 +34,7 @@ var AddressType = /* @__PURE__ */ ((AddressType3) => {
34
34
  })(AddressType || {});
35
35
  var addressSchema = v2.object({
36
36
  address: v2.string(),
37
- publicKey: v2.optional(v2.string()),
37
+ publicKey: v2.string(),
38
38
  purpose: v2.enum(AddressPurpose),
39
39
  addressType: v2.enum(AddressType),
40
40
  walletType: walletTypeSchema
@@ -847,7 +847,6 @@ var sparkGetBalanceResultSchema = v13.object({
847
847
  balance: v13.string(),
848
848
  tokenMetadata: v13.object({
849
849
  tokenIdentifier: v13.string(),
850
- tokenPublicKey: v13.string(),
851
850
  tokenName: v13.string(),
852
851
  tokenTicker: v13.string(),
853
852
  decimals: v13.number(),
@@ -902,7 +901,7 @@ var sparkTransferTokenParamsSchema = v15.object({
902
901
  */
903
902
  tokenAmount: v15.union([v15.number(), v15.string()]),
904
903
  /**
905
- * The token identifier.
904
+ * The Bech32m token identifier.
906
905
  */
907
906
  tokenIdentifier: v15.string(),
908
907
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sats-connect/core",
3
- "version": "0.7.1-b0a037d",
3
+ "version": "0.7.1-e16b520",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.mts",