@actalink/sdkv2 0.1.3 → 0.1.4

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.cjs CHANGED
@@ -807,8 +807,8 @@ var import_permissions = require("@zerodev/permissions");
807
807
  var import_policies = require("@zerodev/permissions/policies");
808
808
 
809
809
  // src/constants.ts
810
- var ACCESS_URL = "https://api.acta.link/deposit";
811
- var ACCESS_TESTNET_URL = "https://api.acta.link/deposit/test";
810
+ var ACCESS_URL = "https://flex.acta.link/flex/deposit";
811
+ var ACCESS_TESTNET_URL = "https://flex.acta.link/flex/deposit/test";
812
812
  var PROXY_URL = `https://api.acta.link/proxy/v1`;
813
813
 
814
814
  // src/account.ts
package/dist/index.d.cts CHANGED
@@ -21,7 +21,7 @@ declare const ActaAccessConfigSchema: z.ZodObject<{
21
21
  projectId: z.ZodString;
22
22
  }, z.core.$strip>;
23
23
  declare const CreateSinglePaymentSchema: z.ZodObject<{
24
- signerAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
24
+ signerAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
25
25
  chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<42161>, z.ZodLiteral<8453>, z.ZodLiteral<59144>, z.ZodLiteral<56>, z.ZodLiteral<10>, z.ZodLiteral<137>, z.ZodLiteral<84532>, z.ZodLiteral<11155111>, z.ZodLiteral<80002>]>;
26
26
  publicClient: z.ZodCustom<{
27
27
  account: undefined;
@@ -16092,11 +16092,11 @@ declare const CreateSinglePaymentSchema: z.ZodObject<{
16092
16092
  USDT: "USDT";
16093
16093
  }>;
16094
16094
  amount: z.ZodBigInt;
16095
- receiver: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
16095
+ receiver: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
16096
16096
  allowMaxTokenApproval: z.ZodBoolean;
16097
16097
  }, z.core.$strip>;
16098
16098
  declare const CreateRecurringPaymentSchema: z.ZodObject<{
16099
- signerAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
16099
+ signerAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
16100
16100
  chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<42161>, z.ZodLiteral<8453>, z.ZodLiteral<59144>, z.ZodLiteral<56>, z.ZodLiteral<10>, z.ZodLiteral<137>, z.ZodLiteral<84532>, z.ZodLiteral<11155111>, z.ZodLiteral<80002>]>;
16101
16101
  publicClient: z.ZodCustom<{
16102
16102
  account: undefined;
@@ -32167,7 +32167,7 @@ declare const CreateRecurringPaymentSchema: z.ZodObject<{
32167
32167
  USDT: "USDT";
32168
32168
  }>;
32169
32169
  amount: z.ZodBigInt;
32170
- receiver: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
32170
+ receiver: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
32171
32171
  allowMaxTokenApproval: z.ZodBoolean;
32172
32172
  count: z.ZodNumber;
32173
32173
  intervalUnit: z.ZodEnum<{
@@ -32178,7 +32178,7 @@ declare const CreateRecurringPaymentSchema: z.ZodObject<{
32178
32178
  }>;
32179
32179
  }, z.core.$strip>;
32180
32180
  declare const EstimateSinglePaymentGasSchema: z.ZodObject<{
32181
- signerAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
32181
+ signerAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
32182
32182
  chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<42161>, z.ZodLiteral<8453>, z.ZodLiteral<59144>, z.ZodLiteral<56>, z.ZodLiteral<10>, z.ZodLiteral<137>, z.ZodLiteral<84532>, z.ZodLiteral<11155111>, z.ZodLiteral<80002>]>;
32183
32183
  publicClient: z.ZodCustom<{
32184
32184
  account: undefined;
@@ -48249,7 +48249,7 @@ declare const EstimateSinglePaymentGasSchema: z.ZodObject<{
48249
48249
  USDT: "USDT";
48250
48250
  }>;
48251
48251
  amount: z.ZodBigInt;
48252
- receiver: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
48252
+ receiver: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
48253
48253
  }, z.core.$strip>;
48254
48254
  declare const PaymentStatusSchema: z.ZodObject<{
48255
48255
  id: z.ZodString;
package/dist/index.d.ts CHANGED
@@ -21,7 +21,7 @@ declare const ActaAccessConfigSchema: z.ZodObject<{
21
21
  projectId: z.ZodString;
22
22
  }, z.core.$strip>;
23
23
  declare const CreateSinglePaymentSchema: z.ZodObject<{
24
- signerAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
24
+ signerAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
25
25
  chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<42161>, z.ZodLiteral<8453>, z.ZodLiteral<59144>, z.ZodLiteral<56>, z.ZodLiteral<10>, z.ZodLiteral<137>, z.ZodLiteral<84532>, z.ZodLiteral<11155111>, z.ZodLiteral<80002>]>;
26
26
  publicClient: z.ZodCustom<{
27
27
  account: undefined;
@@ -16092,11 +16092,11 @@ declare const CreateSinglePaymentSchema: z.ZodObject<{
16092
16092
  USDT: "USDT";
16093
16093
  }>;
16094
16094
  amount: z.ZodBigInt;
16095
- receiver: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
16095
+ receiver: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
16096
16096
  allowMaxTokenApproval: z.ZodBoolean;
16097
16097
  }, z.core.$strip>;
16098
16098
  declare const CreateRecurringPaymentSchema: z.ZodObject<{
16099
- signerAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
16099
+ signerAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
16100
16100
  chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<42161>, z.ZodLiteral<8453>, z.ZodLiteral<59144>, z.ZodLiteral<56>, z.ZodLiteral<10>, z.ZodLiteral<137>, z.ZodLiteral<84532>, z.ZodLiteral<11155111>, z.ZodLiteral<80002>]>;
16101
16101
  publicClient: z.ZodCustom<{
16102
16102
  account: undefined;
@@ -32167,7 +32167,7 @@ declare const CreateRecurringPaymentSchema: z.ZodObject<{
32167
32167
  USDT: "USDT";
32168
32168
  }>;
32169
32169
  amount: z.ZodBigInt;
32170
- receiver: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
32170
+ receiver: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
32171
32171
  allowMaxTokenApproval: z.ZodBoolean;
32172
32172
  count: z.ZodNumber;
32173
32173
  intervalUnit: z.ZodEnum<{
@@ -32178,7 +32178,7 @@ declare const CreateRecurringPaymentSchema: z.ZodObject<{
32178
32178
  }>;
32179
32179
  }, z.core.$strip>;
32180
32180
  declare const EstimateSinglePaymentGasSchema: z.ZodObject<{
32181
- signerAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
32181
+ signerAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
32182
32182
  chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<42161>, z.ZodLiteral<8453>, z.ZodLiteral<59144>, z.ZodLiteral<56>, z.ZodLiteral<10>, z.ZodLiteral<137>, z.ZodLiteral<84532>, z.ZodLiteral<11155111>, z.ZodLiteral<80002>]>;
32183
32183
  publicClient: z.ZodCustom<{
32184
32184
  account: undefined;
@@ -48249,7 +48249,7 @@ declare const EstimateSinglePaymentGasSchema: z.ZodObject<{
48249
48249
  USDT: "USDT";
48250
48250
  }>;
48251
48251
  amount: z.ZodBigInt;
48252
- receiver: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
48252
+ receiver: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
48253
48253
  }, z.core.$strip>;
48254
48254
  declare const PaymentStatusSchema: z.ZodObject<{
48255
48255
  id: z.ZodString;
package/dist/index.js CHANGED
@@ -755,8 +755,8 @@ import {
755
755
  } from "@zerodev/permissions/policies";
756
756
 
757
757
  // src/constants.ts
758
- var ACCESS_URL = "https://api.acta.link/deposit";
759
- var ACCESS_TESTNET_URL = "https://api.acta.link/deposit/test";
758
+ var ACCESS_URL = "https://flex.acta.link/flex/deposit";
759
+ var ACCESS_TESTNET_URL = "https://flex.acta.link/flex/deposit/test";
760
760
  var PROXY_URL = `https://api.acta.link/proxy/v1`;
761
761
 
762
762
  // src/account.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actalink/sdkv2",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "author": "Actalink",
5
5
  "license": "MIT license",
6
6
  "publishConfig": {