@sats-connect/core 0.7.1-77a9de6 → 0.7.1-b0a037d
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 +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -165,7 +165,7 @@ declare const addressSchema: v.ObjectSchema<{
|
|
|
165
165
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
166
166
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
167
167
|
}, undefined>;
|
|
168
|
-
type Address = v.InferOutput<typeof addressSchema> & ({
|
|
168
|
+
type Address = Exclude<v.InferOutput<typeof addressSchema>, 'purpose' | 'publicKey'> & ({
|
|
169
169
|
purpose: AddressWithPublicKey;
|
|
170
170
|
publicKey: string;
|
|
171
171
|
} | {
|
|
@@ -1074,6 +1074,7 @@ declare const sparkGetBalanceResultSchema: v.ObjectSchema<{
|
|
|
1074
1074
|
readonly tokenBalances: v.ArraySchema<v.ObjectSchema<{
|
|
1075
1075
|
readonly balance: v.StringSchema<undefined>;
|
|
1076
1076
|
readonly tokenMetadata: v.ObjectSchema<{
|
|
1077
|
+
readonly tokenIdentifier: v.StringSchema<undefined>;
|
|
1077
1078
|
readonly tokenPublicKey: v.StringSchema<undefined>;
|
|
1078
1079
|
readonly tokenName: v.StringSchema<undefined>;
|
|
1079
1080
|
readonly tokenTicker: v.StringSchema<undefined>;
|
package/dist/index.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ declare const addressSchema: v.ObjectSchema<{
|
|
|
165
165
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
166
166
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
167
167
|
}, undefined>;
|
|
168
|
-
type Address = v.InferOutput<typeof addressSchema> & ({
|
|
168
|
+
type Address = Exclude<v.InferOutput<typeof addressSchema>, 'purpose' | 'publicKey'> & ({
|
|
169
169
|
purpose: AddressWithPublicKey;
|
|
170
170
|
publicKey: string;
|
|
171
171
|
} | {
|
|
@@ -1074,6 +1074,7 @@ declare const sparkGetBalanceResultSchema: v.ObjectSchema<{
|
|
|
1074
1074
|
readonly tokenBalances: v.ArraySchema<v.ObjectSchema<{
|
|
1075
1075
|
readonly balance: v.StringSchema<undefined>;
|
|
1076
1076
|
readonly tokenMetadata: v.ObjectSchema<{
|
|
1077
|
+
readonly tokenIdentifier: v.StringSchema<undefined>;
|
|
1077
1078
|
readonly tokenPublicKey: v.StringSchema<undefined>;
|
|
1078
1079
|
readonly tokenName: v.StringSchema<undefined>;
|
|
1079
1080
|
readonly tokenTicker: v.StringSchema<undefined>;
|
package/dist/index.js
CHANGED
|
@@ -1080,6 +1080,7 @@ var sparkGetBalanceResultSchema = v13.object({
|
|
|
1080
1080
|
/* The address balance of the token in string form as it can overflow a js number */
|
|
1081
1081
|
balance: v13.string(),
|
|
1082
1082
|
tokenMetadata: v13.object({
|
|
1083
|
+
tokenIdentifier: v13.string(),
|
|
1083
1084
|
tokenPublicKey: v13.string(),
|
|
1084
1085
|
tokenName: v13.string(),
|
|
1085
1086
|
tokenTicker: v13.string(),
|
package/dist/index.mjs
CHANGED
|
@@ -846,6 +846,7 @@ var sparkGetBalanceResultSchema = v13.object({
|
|
|
846
846
|
/* The address balance of the token in string form as it can overflow a js number */
|
|
847
847
|
balance: v13.string(),
|
|
848
848
|
tokenMetadata: v13.object({
|
|
849
|
+
tokenIdentifier: v13.string(),
|
|
849
850
|
tokenPublicKey: v13.string(),
|
|
850
851
|
tokenName: v13.string(),
|
|
851
852
|
tokenTicker: v13.string(),
|