Skip to content

Commit 03c8f6d

Browse files
committed
feat(starkwebkit) all working well
1 parent d0151a2 commit 03c8f6d

9 files changed

Lines changed: 470 additions & 112 deletions

File tree

examples/nextjs-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"next": "14.0.4",
1414
"react": "^18.2.0",
1515
"react-dom": "^18.2.0",
16-
"starkweb": "0.0.7",
16+
"starkweb": "0.0.16",
1717
"starkwebkit": "workspace:packages/starkwebkit"
1818
},
1919
"devDependencies": {

examples/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"next": "14.0.4",
1414
"react": "^18.2.0",
1515
"react-dom": "^18.2.0",
16-
"starkweb": "0.0.16",
16+
"starkweb": "0.0.19",
1717
"starkwebkit": "workspace:packages/starkwebkit"
1818
},
1919
"devDependencies": {

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"rollup-plugin-terser": "^7.0.2",
4040
"rollup-plugin-typescript2": "^0.34.0",
4141
"rollup-plugin-visualizer": "^5.5.4",
42-
"starkweb": "0.0.16",
42+
"starkweb": "0.0.20",
4343
"tslib": "^1.9.3",
4444
"typescript-plugin-styled-components": "^2.0.0"
4545
},
@@ -49,5 +49,8 @@
4949
"@tanstack/query-core": "^5.59.20",
5050
"@tanstack/react-query": "^5.59.20",
5151
"next": "^12.3.1"
52+
},
53+
"resolutions": {
54+
"starkweb": "0.0.20"
5255
}
5356
}

packages/starkwebkit-next-siwe/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "starkwebkit-next-siwe",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"author": "Nethermind",
55
"homepage": "https://docs.starkwebkit.com",
66
"license": "BSD-2-Clause license",
@@ -37,7 +37,7 @@
3737
],
3838
"dependencies": {
3939
"iron-session": "^6.2.1",
40-
"starkweb": "0.0.8"
40+
"starkweb": "0.0.17"
4141
},
4242
"peerDependencies": {
4343
"connectkit": ">=1.2.0",

packages/starkwebkit/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "starkwebkit",
3-
"version": "0.0.1",
4-
"author": "Wolf",
3+
"version": "0.0.3",
4+
"author": "Nethermind",
55
"homepage": "https://docs.family.co/starkwebkit",
66
"license": "BSD-2-Clause license",
77
"description": "Connecting a wallet, made simple.",
@@ -65,7 +65,7 @@
6565
"resolutions": {
6666
"react": "^18.0.0",
6767
"react-dom": "^18.0.0",
68-
"starkweb": "0.0.8",
68+
"starkweb": "0.0.16",
6969
"@tanstack/react-query": "5.59.20"
7070
}
7171
}

packages/starkwebkit/src/defaultConfig.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,13 @@ type DefaultConfigProps = {
1515
appIcon?: string;
1616
appDescription?: string;
1717
appUrl?: string;
18-
19-
// WC 2.0 requires a project ID (get one here: https://cloud.walletconnect.com/sign-in)
20-
walletConnectProjectId: string;
21-
// Coinbase Wallet preference
2218
} & Partial<CreateConfigParameters>;
2319

2420
const defaultConfig = ({
2521
appName = 'ConnectKit',
2622
appIcon,
2723
appDescription,
2824
appUrl,
29-
walletConnectProjectId,
3025
chains = [mainnet, sepolia],
3126
client,
3227
...props

packages/starkwebkit/src/defaultConnectors.ts

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
import { CreateConnectorFn } from 'starkweb/core';
21
import {
3-
injected,
42
argentX,
53
braavos,
64
metamask,
75
keplr
86
} from 'starkweb/connectors';
7+
import { CreateConnectorFn } from 'starkweb/core';
98

109
type DefaultConnectorsProps = {
1110
app: {
@@ -25,24 +24,13 @@ const defaultConnectors = ({
2524

2625
const connectors: CreateConnectorFn[] = [];
2726

28-
29-
// Add the rest of the connectors
3027
connectors.push(
3128
argentX(),
3229
braavos(),
3330
metamask(),
3431
keplr(),
3532
);
3633

37-
38-
/*
39-
connectors.push(
40-
injected({
41-
shimDisconnect: true,
42-
})
43-
);
44-
*/
45-
4634
return connectors;
4735
};
4836

packages/starkwebkit/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const STARKWEBKIT_VERSION = '0.0.1';
1+
export const STARKWEBKIT_VERSION = '0.0.2';
22

33
export * as Types from './types';
44
export { default as getDefaultConfig } from './defaultConfig';

0 commit comments

Comments
 (0)