From 456c50e9bfe44079e0955b597a48a0577cf2b4bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Jadach?= Date: Wed, 19 Nov 2025 16:47:12 +0100 Subject: [PATCH 1/2] change syntax of json assertion to the official ECMAScript --- packages/account-sdk/src/core/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/account-sdk/src/core/constants.ts b/packages/account-sdk/src/core/constants.ts index 5e4fff5fc..2dceabd0e 100644 --- a/packages/account-sdk/src/core/constants.ts +++ b/packages/account-sdk/src/core/constants.ts @@ -1,4 +1,4 @@ -import pkg from '../../package.json' with { type: 'json' }; +import pkg from '../../package.json' assert { type: 'json' }; export const CB_KEYS_URL = 'https://keys.coinbase.com/connect'; export const CB_WALLET_RPC_URL = 'https://rpc.wallet.coinbase.com'; From ec39a72d1fd24c71674e59eaf9aaff3ccc405845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Jadach?= Date: Wed, 19 Nov 2025 16:47:40 +0100 Subject: [PATCH 2/2] Fix CONTRIBUTING.md with current script naming --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 38e63b43f..60d0444e3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -57,13 +57,13 @@ First, ensure that the following are installed globally on your machine: Then, from the root folder run: - `yarn install` to install dependencies -- `yarn build` to build the package +- `yarn build:packages` to build the packages - `yarn dev` to start the example app and build the package with hot reloading - `yarn test` to ensure that the test suite runs correctly ### Navigating the codebase -The SDK is built using yarn workspaces. +The SDK is built using yarn workspaces. - `packages/account-sdk` - The main package that exports the SDK - `examples/test-app` - An example React app that is used to test the SDK in a real browser environment