@owney/sdk 0.7.16-beta.6 → 0.7.16-beta.7

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
@@ -859,7 +859,7 @@ function pinAccount(provider, address) {
859
859
  };
860
860
  }
861
861
  async function createSponsoredWallet(input) {
862
- const entryPoint = { address: import_account_abstraction.entryPoint07Address, version: "0.7" };
862
+ const entryPoint = { address: import_account_abstraction.entryPoint08Address, version: "0.8" };
863
863
  const account = await (0, import_accounts.toSimpleSmartAccount)({
864
864
  client: publicClientFor(input.rpcUrl),
865
865
  owner: pinAccount(input.provider, input.ownerAddress),
package/dist/index.js CHANGED
@@ -2744,7 +2744,7 @@ var OwneySDK = class {
2744
2744
  }
2745
2745
  if (agentId === "surfliquid") {
2746
2746
  if (!projectName) return null;
2747
- const { SurfLiquidAgent } = await import("./surfliquid.agent-5CWKYMRL.js");
2747
+ const { SurfLiquidAgent } = await import("./surfliquid.agent-5GY7A6HY.js");
2748
2748
  return new SurfLiquidAgent({
2749
2749
  projectName,
2750
2750
  appId: key2,
@@ -375,7 +375,7 @@ var SurfLiquidAgent = class {
375
375
  }
376
376
  async sponsoredWallet(state) {
377
377
  if (!this.config.apiKey) return null;
378
- const { createSponsoredWallet } = await import("./surfliquid.smart-account-L3AWN52C.js");
378
+ const { createSponsoredWallet } = await import("./surfliquid.smart-account-ZTZV7HUD.js");
379
379
  const { ROUTING_API_BASE_URL } = await import("./routing-api-KAILDWMD.js");
380
380
  return createSponsoredWallet({
381
381
  provider: state.provider,
@@ -391,7 +391,7 @@ var SurfLiquidAgent = class {
391
391
  const wallet = await this.sponsoredWallet(state).catch(() => null);
392
392
  if (!wallet) return null;
393
393
  const { depositSponsored, isSafeToRetry } = await import("./surfliquid.sponsorship-BFAL2O3B.js");
394
- const { createSponsoredChain } = await import("./surfliquid.smart-account-L3AWN52C.js");
394
+ const { createSponsoredChain } = await import("./surfliquid.smart-account-ZTZV7HUD.js");
395
395
  try {
396
396
  const { txHash, vault } = await depositSponsored({
397
397
  amount,
@@ -413,7 +413,7 @@ var SurfLiquidAgent = class {
413
413
  const wallet = await this.sponsoredWallet(state).catch(() => null);
414
414
  if (!wallet) return null;
415
415
  const { withdrawSponsored, isSafeToRetry } = await import("./surfliquid.sponsorship-BFAL2O3B.js");
416
- const { createSponsoredChain } = await import("./surfliquid.smart-account-L3AWN52C.js");
416
+ const { createSponsoredChain } = await import("./surfliquid.smart-account-ZTZV7HUD.js");
417
417
  try {
418
418
  const result = await withdrawSponsored({
419
419
  amount: amount != null ? BigInt(amount) : void 0,
@@ -23,7 +23,7 @@ import {
23
23
  custom,
24
24
  http
25
25
  } from "viem";
26
- import { entryPoint07Address } from "viem/account-abstraction";
26
+ import { entryPoint08Address } from "viem/account-abstraction";
27
27
  import { base } from "viem/chains";
28
28
  var sponsorProxyUrl = (routingApiBaseUrl) => `${routingApiBaseUrl.replace(/\/$/, "")}/api/v1/sponsor/pimlico-rpc/${SURFLIQUID_CHAIN_ID}`;
29
29
  function publicClientFor(rpcUrl) {
@@ -67,7 +67,7 @@ function pinAccount(provider, address) {
67
67
  };
68
68
  }
69
69
  async function createSponsoredWallet(input) {
70
- const entryPoint = { address: entryPoint07Address, version: "0.7" };
70
+ const entryPoint = { address: entryPoint08Address, version: "0.8" };
71
71
  const account = await toSimpleSmartAccount({
72
72
  client: publicClientFor(input.rpcUrl),
73
73
  owner: pinAccount(input.provider, input.ownerAddress),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owney/sdk",
3
- "version": "0.7.16-beta.6",
3
+ "version": "0.7.16-beta.7",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",