diff --git a/.github/workflows/publish-rust-lazer-contract.yml b/.github/workflows/publish-rust-lazer-contract.yml deleted file mode 100644 index 496899e7d0..0000000000 --- a/.github/workflows/publish-rust-lazer-contract.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Publish Rust package pyth-lazer-solana-contract to crates.io - -on: - push: - tags: - - rust-pyth-lazer-solana-contract-v* -jobs: - publish-pyth-lazer-solana-contract: - name: Publish Rust package pyth-lazer-solana-contract to crates.io - runs-on: ubuntu-latest - steps: - - name: Checkout sources - uses: actions/checkout@v2 - - - run: cargo publish --token ${CARGO_REGISTRY_TOKEN} - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - working-directory: "lazer/contracts/solana/programs/pyth-lazer-solana-contract" diff --git a/.github/workflows/publish-rust-lazer-protocol.yml b/.github/workflows/publish-rust-lazer-protocol.yml deleted file mode 100644 index 37d4a2034d..0000000000 --- a/.github/workflows/publish-rust-lazer-protocol.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Publish Rust package pyth-lazer-protocol to crates.io - -on: - push: - tags: - - rust-pyth-lazer-protocol-v* -jobs: - publish-pyth-lazer-protocol: - name: Publish Rust package pyth-lazer-protocol to crates.io - runs-on: ubuntu-latest - steps: - - name: Checkout sources - uses: actions/checkout@v2 - - - run: cargo publish --token ${CARGO_REGISTRY_TOKEN} - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - working-directory: "lazer/sdk/rust/protocol" diff --git a/.github/workflows/publish-rust-lazer-sdk.yml b/.github/workflows/publish-rust-lazer-sdk.yml deleted file mode 100644 index 4cbccd8d5c..0000000000 --- a/.github/workflows/publish-rust-lazer-sdk.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Publish Rust package pyth-lazer-sdk to crates.io - -on: - push: - tags: - - rust-pyth-lazer-sdk-v* -jobs: - publish-pyth-lazer-sdk: - name: Publish Rust package pyth-lazer-sdk to crates.io - runs-on: ubuntu-latest - steps: - - name: Checkout sources - uses: actions/checkout@v2 - - - run: cargo publish --token ${CARGO_REGISTRY_TOKEN} - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - working-directory: "lazer/sdk/solana" diff --git a/lazer/contracts/solana/programs/pyth-lazer-solana-contract/Cargo.toml b/lazer/contracts/solana/programs/pyth-lazer-solana-contract/Cargo.toml index fc403d98e9..ec0c0cf893 100644 --- a/lazer/contracts/solana/programs/pyth-lazer-solana-contract/Cargo.toml +++ b/lazer/contracts/solana/programs/pyth-lazer-solana-contract/Cargo.toml @@ -1,10 +1,8 @@ [package] name = "pyth-lazer-solana-contract" version = "0.1.0" +description = "Created with Anchor" edition = "2021" -description = "Pyth Lazer Solana contract." -license = "Apache-2.0" -repository = "https://github.com/pyth-network/pyth-crosschain" [lib] crate-type = ["cdylib", "lib"] diff --git a/lazer/sdk/js/package.json b/lazer/sdk/js/package.json index 50ac853dd0..fcd2e9270b 100644 --- a/lazer/sdk/js/package.json +++ b/lazer/sdk/js/package.json @@ -1,13 +1,8 @@ { - "name": "@pythnetwork/pyth-lazer-sdk", - "version": "0.1.0", - "description": "Pyth Lazer SDK", - "publishConfig": { - "access": "public" - }, - "files": [ - "lib/**/*" - ], + "name": "pyth-lazer-sdk", + "version": "1.0.0", + "description": "pyth-lazer-sdk", + "private": "true", "scripts": { "build:cjs": "tsc --project tsconfig.json --verbatimModuleSyntax false --module commonjs --outDir ./dist/cjs && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json", "build:esm": "tsc --project tsconfig.json --outDir ./dist/esm && echo '{\"type\":\"module\"}' > dist/esm/package.json", @@ -36,17 +31,8 @@ "url": "https://github.com/pyth-lazer-sdk/pyth-lazer-sdk/issues" }, "type": "module", - "homepage": "https://github.com/pyth-network/pyth-crosschain/tree/main/lazer/sdk/js", - "repository": { - "type": "git", - "url": "https://github.com/pyth-network/pyth-crosschain", - "directory": "lazer/sdk/js" - }, - "keywords": [ - "pyth", - "oracle" - ], - "license": "Apache-2.0", + "homepage": "https://github.com/pyth-lazer-sdk/pyth-lazer-sdk#readme", + "keywords": [], "dependencies": { "isomorphic-ws": "^5.0.0", "ws": "^8.18.0" diff --git a/lazer/sdk/rust/protocol/Cargo.toml b/lazer/sdk/rust/protocol/Cargo.toml index 577e82c2f3..a616da7958 100644 --- a/lazer/sdk/rust/protocol/Cargo.toml +++ b/lazer/sdk/rust/protocol/Cargo.toml @@ -2,9 +2,6 @@ name = "pyth-lazer-protocol" version = "0.1.0" edition = "2021" -description = "Pyth Lazer SDK - protocol types." -license = "Apache-2.0" -repository = "https://github.com/pyth-network/pyth-crosschain" [dependencies] byteorder = "1.4.3" diff --git a/lazer/sdk/solana/Cargo.toml b/lazer/sdk/solana/Cargo.toml index 0f4d367c41..1de8bb4347 100644 --- a/lazer/sdk/solana/Cargo.toml +++ b/lazer/sdk/solana/Cargo.toml @@ -2,13 +2,10 @@ name = "pyth-lazer-sdk" version = "0.1.0" edition = "2021" -description = "Pyth Lazer SDK" -license = "Apache-2.0" -repository = "https://github.com/pyth-network/pyth-crosschain" [dependencies] -pyth-lazer-protocol = { version = "0.1.0", path = "../rust/protocol" } -pyth-lazer-solana-contract = { version = "0.1.0", path = "../../contracts/solana/programs/pyth-lazer-solana-contract", features = ["no-entrypoint"] } +pyth-lazer-protocol = { path = "../rust/protocol" } +pyth-lazer-solana-contract = { path = "../../contracts/solana/programs/pyth-lazer-solana-contract", features = ["no-entrypoint"] } solana-program = "1.16" bytemuck = { version = "1.4.0", features = ["derive"] }