Skip to content

Commit 6c5c49e

Browse files
committed
fix: rename package to zksync-sso-wagmi-connector
Using a scope that doesn't exist requires more setup
1 parent 59a4c0c commit 6c5c49e

File tree

9 files changed

+18
-16
lines changed

9 files changed

+18
-16
lines changed

examples/demo-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"wagmi": "^2.12.17",
2222
"zksync-ethers": "^6.15.0",
2323
"zksync-sso": "workspace:*",
24-
"@zksync-sso/connector-export": "workspace:*"
24+
"zksync-sso-wagmi-connector": "workspace:*"
2525
},
2626
"devDependencies": {
2727
"@nuxt/eslint": "^0.5.7",

examples/demo-app/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
<script lang="ts" setup>
5858
import { disconnect, getBalance, watchAccount, sendTransaction, createConfig, connect, reconnect, waitForTransactionReceipt, type GetBalanceReturnType } from "@wagmi/core";
59-
import { zksyncSsoConnector, eraTestNode } from "@zksync-sso/connector-export";
59+
import { zksyncSsoConnector, eraTestNode } from "zksync-sso-wagmi-connector";
6060
import { createWalletClient, http, parseEther, type Address } from "viem";
6161
import { privateKeyToAccount } from "viem/accounts";
6262
import { getGeneralPaymasterInput } from "viem/zksync";

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"typescript-eslint": "8.7.0",
4949
"viem": "^2.30.0",
5050
"zksync-sso": "workspace:*",
51-
"@zksync-sso/connector-export": "workspace:*"
51+
"zksync-sso-wagmi-connector": "workspace:*"
5252
},
5353
"nx": {
5454
"includedScripts": []

packages/auth-server/stores/era-sepolia.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
"passkey": "0x006ecc2D79242F1986b7cb5F636d6E3f499f1026",
44
"accountFactory": "0xd122999B15081d90b175C81B8a4a9bE3327C0c2a",
55
"accountPaymaster": "0x4Cb1C15710366b73f3D31EC2b3092d5f3BFD8504",
6-
"recovery": "0x6AA83E35439D71F28273Df396BC7768dbaA9849D"
6+
"recovery": "0x6AA83E35439D71F28273Df396BC7768dbaA9849D",
7+
"recoveryOidc": "0x116A07f88d03bD3982eBD5f2667EB08965aAe98c",
8+
"oidcKeyRegistry": "0x0EEeA31EA37959316dc6b50307BaF09528d3fcc4"
79
}

packages/connector-export/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @zksync-sso/connector-export
1+
# zksync-sso-wagmi-connector
22

33
This package exports the ZKsync SSO connector with embedded Era Test Node
44
support, eliminating the need to manually import and configure the era-test-node
@@ -7,11 +7,11 @@ chain.
77
## Installation
88

99
```bash
10-
npm install @zksync-sso/connector-export
10+
npm install zksync-sso-wagmi-connector
1111
# or
12-
pnpm add @zksync-sso/connector-export
12+
pnpm add zksync-sso-wagmi-connector
1313
# or
14-
yarn add @zksync-sso/connector-export
14+
yarn add zksync-sso-wagmi-connector
1515
```
1616

1717
## Usage
@@ -23,7 +23,7 @@ configuration:
2323

2424
```typescript
2525
import { createConfig, http } from "@wagmi/core";
26-
import { zksyncSsoConnector, eraTestNode } from "@zksync-sso/connector-export";
26+
import { zksyncSsoConnector, eraTestNode } from "zksync-sso-wagmi-connector";
2727

2828
const wagmiConfig = createConfig({
2929
chains: [eraTestNode], // Era test node is now exported directly
@@ -53,7 +53,7 @@ You can disable the automatic Era Test Node inclusion if you want to configure
5353
chains manually:
5454

5555
```typescript
56-
import { zksyncSsoConnector } from "@zksync-sso/connector-export";
56+
import { zksyncSsoConnector } from "zksync-sso-wagmi-connector";
5757
import { zksyncSepoliaTestnet } from "@wagmi/core/chains";
5858

5959
const connector = zksyncSsoConnector({
@@ -129,7 +129,7 @@ const wagmiConfig = createConfig({
129129
**After:**
130130

131131
```typescript
132-
import { zksyncSsoConnector, eraTestNode } from "@zksync-sso/connector-export";
132+
import { zksyncSsoConnector, eraTestNode } from "zksync-sso-wagmi-connector";
133133

134134
const wagmiConfig = createConfig({
135135
chains: [eraTestNode], // Now exported directly from the connector package

packages/connector-export/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@zksync-sso/connector-export",
2+
"name": "zksync-sso-wagmi-connector",
33
"type": "module",
44
"version": "0.1.0",
55
"description": "Exports only the connector from the zksync-sso SDK.",

packages/connector-export/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export type ZksyncSsoConnectorWithEraOptions = ZksyncSsoConnectorOptions;
2121
* Example usage:
2222
* ```typescript
2323
* import { createConfig } from '@wagmi/core'
24-
* import { zksyncSsoConnector, eraSepolia, eraMainnet } from '@zksync-sso/connector-export'
24+
* import { zksyncSsoConnector, eraSepolia, eraMainnet } from 'zksync-sso-wagmi-connector'
2525
*
2626
* const config = createConfig({
2727
* chains: [eraSepolia, eraMainnet],

packages/contracts

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)