diff --git a/examples/feeds/01_feed_client/package.json b/examples/feeds/01_feed_client/package.json index 3c48d3af0..7bca6e8b3 100644 --- a/examples/feeds/01_feed_client/package.json +++ b/examples/feeds/01_feed_client/package.json @@ -20,7 +20,7 @@ "@solana/web3.js": "^1.77.3", "@switchboard-xyz/common": "latest", "@switchboard-xyz/oracle": "latest", - "@switchboard-xyz/solana.js": "latest", + "@switchboard-xyz/solana.js": "workspace:latest", "chalk": "^4.1.2", "dotenv": "^16.0.1", "yargs": "^17.5.1" diff --git a/examples/feeds/02_spl_native/package.json b/examples/feeds/02_spl_native/package.json index c174d63cb..8c2601ac4 100644 --- a/examples/feeds/02_spl_native/package.json +++ b/examples/feeds/02_spl_native/package.json @@ -19,7 +19,7 @@ "@solana/web3.js": "^1.77.3", "@switchboard-xyz/common": "latest", "@switchboard-xyz/oracle": "latest", - "@switchboard-xyz/solana.js": "latest" + "@switchboard-xyz/solana.js": "workspace:latest" }, "devDependencies": { "@types/chai": "^4.3.0", diff --git a/examples/functions/01_basic_oracle/package.json b/examples/functions/01_basic_oracle/package.json index 64692612e..fad1ed62f 100644 --- a/examples/functions/01_basic_oracle/package.json +++ b/examples/functions/01_basic_oracle/package.json @@ -17,7 +17,7 @@ "@solana/web3.js": "^1.78.0", "@switchboard-xyz/common": "latest", "@switchboard-xyz/oracle": "latest", - "@switchboard-xyz/solana.js": "latest" + "@switchboard-xyz/solana.js": "workspace:latest" }, "devDependencies": { "@types/bn.js": "^5.1.0", diff --git a/examples/functions/02_liquidity_oracle/package.json b/examples/functions/02_liquidity_oracle/package.json index f2edb54cb..aff36c9cb 100644 --- a/examples/functions/02_liquidity_oracle/package.json +++ b/examples/functions/02_liquidity_oracle/package.json @@ -16,7 +16,7 @@ "@solana/web3.js": "^1.78.0", "@switchboard-xyz/common": "latest", "@switchboard-xyz/oracle": "latest", - "@switchboard-xyz/solana.js": "latest" + "@switchboard-xyz/solana.js": "workspace:latest" }, "devDependencies": { "@types/bn.js": "^5.1.0", diff --git a/examples/functions/03_candles_oracle/package.json b/examples/functions/03_candles_oracle/package.json index 90a183011..35ed5fc10 100644 --- a/examples/functions/03_candles_oracle/package.json +++ b/examples/functions/03_candles_oracle/package.json @@ -16,7 +16,7 @@ "@solana/web3.js": "^1.78.0", "@switchboard-xyz/common": "latest", "@switchboard-xyz/oracle": "latest", - "@switchboard-xyz/solana.js": "latest" + "@switchboard-xyz/solana.js": "workspace:latest" }, "devDependencies": { "@types/bn.js": "^5.1.0", diff --git a/examples/functions/04_randomness_callback/Anchor.toml b/examples/functions/04_randomness_callback/Anchor.toml index e513cbf63..da0489821 100644 --- a/examples/functions/04_randomness_callback/Anchor.toml +++ b/examples/functions/04_randomness_callback/Anchor.toml @@ -12,8 +12,8 @@ custom_randomness_request = "Csx5AU83fPiaSChJUBZg2cW9GcCVVwZ4rwFqDA2pomX2" url = "https://api.apr.dev" [provider] -# cluster = "Localnet" -cluster = "https://api.devnet.solana.com" +cluster = "Localnet" +# cluster = "https://api.devnet.solana.com" wallet = "~/switchboard_environments_v2/devnet/upgrade_authority/upgrade_authority.json" [scripts] @@ -44,4 +44,4 @@ address = "sbattyXrzedoNATfc4L31wC9Mhxsi1BmFhTiN8gDshx" address = "5ExuoQR69trmKQfB95fDsUGsUrrChbGq9PFgt8qouncz" [[test.validator.clone]] # sb devnet programState -address = "5MFs7RGTjLi1wtKNBFRtuLipCkkjs4YQwRRU9sjnbQbS" \ No newline at end of file +address = "5MFs7RGTjLi1wtKNBFRtuLipCkkjs4YQwRRU9sjnbQbS" diff --git a/examples/functions/04_randomness_callback/package.json b/examples/functions/04_randomness_callback/package.json index 4280af6be..76faccea3 100644 --- a/examples/functions/04_randomness_callback/package.json +++ b/examples/functions/04_randomness_callback/package.json @@ -10,7 +10,7 @@ "@coral-xyz/anchor": "^0.28.0", "@solana/spl-token": "^0.3.8", "@switchboard-xyz/common": "latest", - "@switchboard-xyz/solana.js": "latest", + "@switchboard-xyz/solana.js": "workspace:latest", "@types/dotenv": "^8.2.0", "dotenv": "^16.3.1" }, diff --git a/examples/functions/04_randomness_callback/sgx-function/Cargo.toml b/examples/functions/04_randomness_callback/sgx-function/Cargo.toml index 8b4a4928b..f8ed678cd 100644 --- a/examples/functions/04_randomness_callback/sgx-function/Cargo.toml +++ b/examples/functions/04_randomness_callback/sgx-function/Cargo.toml @@ -12,6 +12,5 @@ path = "src/main.rs" [dependencies] tokio = "^1" futures = "0.3" -# switchboard-utils = { version = "0.8.0" } -# switchboard-solana = "0.28.0" -switchboard-solana = { version = "0.28.0", path = "../../../../rust/switchboard-solana" } \ No newline at end of file +switchboard-solana = "0.28.0" +# switchboard-solana = { version = "0.28.0", path = "../../../../rust/switchboard-solana" } diff --git a/examples/vrf/01_vrf_client/package.json b/examples/vrf/01_vrf_client/package.json index a6c920534..5a9f61e8e 100644 --- a/examples/vrf/01_vrf_client/package.json +++ b/examples/vrf/01_vrf_client/package.json @@ -20,7 +20,7 @@ "@solana/web3.js": "^1.77.3", "@switchboard-xyz/common": "latest", "@switchboard-xyz/oracle": "latest", - "@switchboard-xyz/solana.js": "latest", + "@switchboard-xyz/solana.js": "workspace:latest", "chalk": "^4.1.2", "dotenv": "^16.0.1", "yargs": "^17.5.1" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 37a9fd38e..b3c2220f7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -69,7 +69,7 @@ importers: specifier: latest version: 2.1.13 '@switchboard-xyz/solana.js': - specifier: latest + specifier: workspace:latest version: link:../../../javascript/solana.js chalk: specifier: ^4.1.2 @@ -118,7 +118,7 @@ importers: specifier: latest version: 2.1.13 '@switchboard-xyz/solana.js': - specifier: latest + specifier: workspace:latest version: link:../../../javascript/solana.js devDependencies: '@types/chai': @@ -155,7 +155,7 @@ importers: specifier: latest version: 2.1.13 '@switchboard-xyz/solana.js': - specifier: latest + specifier: workspace:latest version: link:../../../javascript/solana.js devDependencies: '@types/bn.js': @@ -204,7 +204,7 @@ importers: specifier: latest version: 2.1.13 '@switchboard-xyz/solana.js': - specifier: latest + specifier: workspace:latest version: link:../../../javascript/solana.js devDependencies: '@types/bn.js': @@ -253,7 +253,7 @@ importers: specifier: latest version: 2.1.13 '@switchboard-xyz/solana.js': - specifier: latest + specifier: workspace:latest version: link:../../../javascript/solana.js devDependencies: '@types/bn.js': @@ -296,7 +296,7 @@ importers: specifier: latest version: 2.2.9(@solana/web3.js@1.78.0) '@switchboard-xyz/solana.js': - specifier: latest + specifier: workspace:latest version: link:../../../javascript/solana.js '@types/dotenv': specifier: ^8.2.0 @@ -353,7 +353,7 @@ importers: specifier: latest version: 2.1.13 '@switchboard-xyz/solana.js': - specifier: latest + specifier: workspace:latest version: link:../../../javascript/solana.js chalk: specifier: ^4.1.2