@sats-connect/core 0.4.1 → 0.4.2-bfaec4d

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
@@ -949,14 +949,14 @@ declare const stxCallContractParamsSchema: v.ObjectSchema<{
949
949
  * The function's arguments. The arguments are expected to be hex-encoded
950
950
  * strings of Clarity values.
951
951
  *
952
- * To convert Clarity values to their hex representation, the `cvToString`
952
+ * To convert Clarity values to their hex representation, the `cvToHex`
953
953
  * helper from the `@stacks/transactions` package may be helpful.
954
954
  *
955
955
  * ```js
956
- * import { cvToString } from '@stacks/transactions';
956
+ * import { cvToHex } from '@stacks/transactions';
957
957
  *
958
958
  * const functionArgs = [someClarityValue1, someClarityValue2];
959
- * const hexArgs = functionArgs.map(cvToString);
959
+ * const hexArgs = functionArgs.map(cvToHex);
960
960
  * ```
961
961
  */
962
962
  readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
@@ -993,14 +993,14 @@ declare const stxCallContractRequestMessageSchema: v.ObjectSchema<{
993
993
  * The function's arguments. The arguments are expected to be hex-encoded
994
994
  * strings of Clarity values.
995
995
  *
996
- * To convert Clarity values to their hex representation, the `cvToString`
996
+ * To convert Clarity values to their hex representation, the `cvToHex`
997
997
  * helper from the `@stacks/transactions` package may be helpful.
998
998
  *
999
999
  * ```js
1000
- * import { cvToString } from '@stacks/transactions';
1000
+ * import { cvToHex } from '@stacks/transactions';
1001
1001
  *
1002
1002
  * const functionArgs = [someClarityValue1, someClarityValue2];
1003
- * const hexArgs = functionArgs.map(cvToString);
1003
+ * const hexArgs = functionArgs.map(cvToHex);
1004
1004
  * ```
1005
1005
  */
1006
1006
  readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
package/dist/index.d.ts CHANGED
@@ -949,14 +949,14 @@ declare const stxCallContractParamsSchema: v.ObjectSchema<{
949
949
  * The function's arguments. The arguments are expected to be hex-encoded
950
950
  * strings of Clarity values.
951
951
  *
952
- * To convert Clarity values to their hex representation, the `cvToString`
952
+ * To convert Clarity values to their hex representation, the `cvToHex`
953
953
  * helper from the `@stacks/transactions` package may be helpful.
954
954
  *
955
955
  * ```js
956
- * import { cvToString } from '@stacks/transactions';
956
+ * import { cvToHex } from '@stacks/transactions';
957
957
  *
958
958
  * const functionArgs = [someClarityValue1, someClarityValue2];
959
- * const hexArgs = functionArgs.map(cvToString);
959
+ * const hexArgs = functionArgs.map(cvToHex);
960
960
  * ```
961
961
  */
962
962
  readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
@@ -993,14 +993,14 @@ declare const stxCallContractRequestMessageSchema: v.ObjectSchema<{
993
993
  * The function's arguments. The arguments are expected to be hex-encoded
994
994
  * strings of Clarity values.
995
995
  *
996
- * To convert Clarity values to their hex representation, the `cvToString`
996
+ * To convert Clarity values to their hex representation, the `cvToHex`
997
997
  * helper from the `@stacks/transactions` package may be helpful.
998
998
  *
999
999
  * ```js
1000
- * import { cvToString } from '@stacks/transactions';
1000
+ * import { cvToHex } from '@stacks/transactions';
1001
1001
  *
1002
1002
  * const functionArgs = [someClarityValue1, someClarityValue2];
1003
- * const hexArgs = functionArgs.map(cvToString);
1003
+ * const hexArgs = functionArgs.map(cvToHex);
1004
1004
  * ```
1005
1005
  */
1006
1006
  readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
package/dist/index.js CHANGED
@@ -327,14 +327,14 @@ var stxCallContractParamsSchema = v3.object({
327
327
  * The function's arguments. The arguments are expected to be hex-encoded
328
328
  * strings of Clarity values.
329
329
  *
330
- * To convert Clarity values to their hex representation, the `cvToString`
330
+ * To convert Clarity values to their hex representation, the `cvToHex`
331
331
  * helper from the `@stacks/transactions` package may be helpful.
332
332
  *
333
333
  * ```js
334
- * import { cvToString } from '@stacks/transactions';
334
+ * import { cvToHex } from '@stacks/transactions';
335
335
  *
336
336
  * const functionArgs = [someClarityValue1, someClarityValue2];
337
- * const hexArgs = functionArgs.map(cvToString);
337
+ * const hexArgs = functionArgs.map(cvToHex);
338
338
  * ```
339
339
  */
340
340
  arguments: v3.optional(v3.array(v3.string()))
package/dist/index.mjs CHANGED
@@ -132,14 +132,14 @@ var stxCallContractParamsSchema = v3.object({
132
132
  * The function's arguments. The arguments are expected to be hex-encoded
133
133
  * strings of Clarity values.
134
134
  *
135
- * To convert Clarity values to their hex representation, the `cvToString`
135
+ * To convert Clarity values to their hex representation, the `cvToHex`
136
136
  * helper from the `@stacks/transactions` package may be helpful.
137
137
  *
138
138
  * ```js
139
- * import { cvToString } from '@stacks/transactions';
139
+ * import { cvToHex } from '@stacks/transactions';
140
140
  *
141
141
  * const functionArgs = [someClarityValue1, someClarityValue2];
142
- * const hexArgs = functionArgs.map(cvToString);
142
+ * const hexArgs = functionArgs.map(cvToHex);
143
143
  * ```
144
144
  */
145
145
  arguments: v3.optional(v3.array(v3.string()))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sats-connect/core",
3
- "version": "0.4.1",
3
+ "version": "0.4.2-bfaec4d",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.mts",