diff --git a/.github/actions/buffer-deploy/action.yaml b/.github/actions/buffer-deploy/action.yaml index 660ae8499..fbccccd94 100644 --- a/.github/actions/buffer-deploy/action.yaml +++ b/.github/actions/buffer-deploy/action.yaml @@ -44,7 +44,7 @@ runs: shell: bash env: DEPLOY_KEYPAIR: ${{ inputs.keypair }} - - run: solana-keygen new -o keyp --no-bip39-passphrase + - run: solana-keygen new -s -o keyp --no-bip39-passphrase shell: bash - run: ls -l ./target/deploy/ shell: bash diff --git a/.github/actions/setup-solana/action.yaml b/.github/actions/setup-solana/action.yaml index 14c652a61..fbefde8fb 100644 --- a/.github/actions/setup-solana/action.yaml +++ b/.github/actions/setup-solana/action.yaml @@ -16,7 +16,7 @@ runs: if: steps.cache-solana.outputs.cache-hit != 'true' - run: echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH shell: bash - - run: solana-keygen new --no-bip39-passphrase --force + - run: solana-keygen new -s --no-bip39-passphrase --force shell: bash - run: solana config set --url localhost shell: bash diff --git a/CHANGELOG.md b/CHANGELOG.md index 04a036d4c..be8262e5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-library/compare/v0.4.0...v0.4.1) (2023-10-12) + + +### Reverts + +* Revert "Revert lazy transactions bitmap" ([46b3cdf](https://github.com/helium/helium-program-library/commit/46b3cdf11c8348ef2b3a4a5c29b36e9206e148f2)) + + + + + # [0.4.0](https://github.com/helium/helium-program-library/compare/v0.2.21...v0.4.0) (2023-09-22) diff --git a/Cargo.lock b/Cargo.lock index 2ec56ecb9..92ce3546e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2540,9 +2540,9 @@ dependencies = [ [[package]] name = "mpl-token-metadata" -version = "3.0.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "651388b8ccae4805f240ebd495172eb44ea10153e018623b628df7034e042a96" +checksum = "177204bbe7486b22ac35af2c91a82630f830a6ddd3392651aefde1ef346aba3d" dependencies = [ "borsh 0.10.3", "num-derive 0.3.3", diff --git a/Cargo.toml b/Cargo.toml index dd6883b1d..58ddfa1f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ members = [ "utils/proposal", ] exclude = [ - "deps/metaplex-program-library/bubblegum/program", + "deps/metaplex-program-library/bubblegum/program", "deps/metaplex-program-library/token-metadata/program", "utils/ecc-sig-verifier", "utils/migration-tx-executor", @@ -19,7 +19,7 @@ exclude = [ [workspace.dependencies] anchor-lang = { version = "0.28.0", features = ["init-if-needed"] } anchor-spl = { version = "0.28.0", features = ["mint", "token"] } -mpl-token-metadata = { version = "3.0.1" } +mpl-token-metadata = { version = "3.1.0" } account-compression-cpi = { rev = "a2d12e4a157d91feb73aa40a97fe297fd477dd87", git = "https://github.com/helium/account-compression-anchor-gen.git", features = ["cpi"]} bubblegum-cpi = { rev = "a2d12e4a157d91feb73aa40a97fe297fd477dd87", git = "https://github.com/helium/account-compression-anchor-gen.git", features = ["cpi"]} solana-security-txt = "1.1.1" diff --git a/lerna.json b/lerna.json index 6ad7ede57..5a6f5b4a3 100644 --- a/lerna.json +++ b/lerna.json @@ -4,5 +4,5 @@ "packages/*" ], "useWorkspaces": true, - "version": "0.4.0" + "version": "0.4.1" } diff --git a/package.json b/package.json index a1d65ec8d..1e23adc72 100644 --- a/package.json +++ b/package.json @@ -30,9 +30,9 @@ "@coral-xyz/anchor": "^0.28.0", "@coral-xyz/anchor-cli": "^0.28.0", "@coral-xyz/borsh": "^0.2.6", + "@helium/crypto": "^4.10.2", "@helium/modular-governance-idls": "^0.0.2", "@helium/proposal-sdk": "^0.0.2", - "@helium/crypto": "^4.10.2", "@helium/transactions": "^3.38.0", "@metaplex-foundation/mpl-bubblegum": "^0.7.0", "@pythnetwork/client": "^2.8.0", @@ -56,6 +56,6 @@ "prettier": "^2.6.2", "shx": "^0.3.4", "ts-mocha": "^10.0.0", - "typescript": "^4.3.5" + "typescript": "^5.2.2" } } diff --git a/packages/account-fetch-cache-hooks/CHANGELOG.md b/packages/account-fetch-cache-hooks/CHANGELOG.md index 365a4722e..b7447bf06 100644 --- a/packages/account-fetch-cache-hooks/CHANGELOG.md +++ b/packages/account-fetch-cache-hooks/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/account-fetch-cache-hooks + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/account-fetch-cache-hooks diff --git a/packages/account-fetch-cache-hooks/package.json b/packages/account-fetch-cache-hooks/package.json index 19eb77a49..98ce1f175 100644 --- a/packages/account-fetch-cache-hooks/package.json +++ b/packages/account-fetch-cache-hooks/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "React hooks and context for account-fetch-cache", "repository": { "type": "git", @@ -32,14 +32,14 @@ "prebuild": "npm run clean && npm run package" }, "dependencies": { - "@helium/account-fetch-cache": "^0.4.0", + "@helium/account-fetch-cache": "^0.4.1", "@solana/web3.js": "^1.78.4", "react-async-hook": "^4.0.0" }, "devDependencies": { "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "peerDependencies": { diff --git a/packages/account-fetch-cache/CHANGELOG.md b/packages/account-fetch-cache/CHANGELOG.md index 192a3e696..71b699693 100644 --- a/packages/account-fetch-cache/CHANGELOG.md +++ b/packages/account-fetch-cache/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-library/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/account-fetch-cache + + + + + # [0.4.0](https://github.com/helium/helium-program-library/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/account-fetch-cache diff --git a/packages/account-fetch-cache/package.json b/packages/account-fetch-cache/package.json index 91d52a07e..816eac5a9 100644 --- a/packages/account-fetch-cache/package.json +++ b/packages/account-fetch-cache/package.json @@ -1,6 +1,6 @@ { "name": "@helium/account-fetch-cache", - "version": "0.4.0", + "version": "0.4.1", "description": "Solana account fetch cache to eliminate reduntant fetching, and batch fetches", "publishConfig": { "access": "public", @@ -36,7 +36,7 @@ "devDependencies": { "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d" diff --git a/packages/account-postgres-sink-service/CHANGELOG.md b/packages/account-postgres-sink-service/CHANGELOG.md index d633e8aa5..67abe0290 100644 --- a/packages/account-postgres-sink-service/CHANGELOG.md +++ b/packages/account-postgres-sink-service/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/account-postgres-sink-service + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/account-postgres-sink-service diff --git a/packages/account-postgres-sink-service/Dockerfile b/packages/account-postgres-sink-service/Dockerfile index 9e4e62b86..29b88257a 100644 --- a/packages/account-postgres-sink-service/Dockerfile +++ b/packages/account-postgres-sink-service/Dockerfile @@ -1,5 +1,5 @@ # Specify the base image -FROM node:16-alpine AS BUILD_IMAGE +FROM node:18-alpine AS BUILD_IMAGE WORKDIR /usr/src/app @@ -8,6 +8,7 @@ COPY package.json ./ RUN yarn install COPY src src +COPY typings typings COPY tsconfig.build.json tsconfig.json RUN yarn global add typescript @@ -15,7 +16,7 @@ RUN yarn run build RUN npm prune --production -FROM node:16-alpine +FROM node:18-alpine WORKDIR /usr/src/app diff --git a/packages/account-postgres-sink-service/package.json b/packages/account-postgres-sink-service/package.json index 28af3cb9d..ce38e95e5 100644 --- a/packages/account-postgres-sink-service/package.json +++ b/packages/account-postgres-sink-service/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Sync account data to postgres", "repository": { "type": "git", @@ -34,7 +34,7 @@ "dependencies": { "@coral-xyz/anchor": "^0.28.0", "@fastify/cors": "^8.1.1", - "@helium/account-fetch-cache": "^0.4.0", + "@helium/account-fetch-cache": "^0.4.1", "@metaplex-foundation/mpl-token-metadata": "^2.10.0", "@solana/web3.js": "^1.78.4", "aws-sdk": "^2.1344.0", @@ -68,7 +68,7 @@ "ts-loader": "^9.2.3", "ts-node": "^10.9.1", "ts-node-dev": "^2.0.0", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/account-postgres-sink-service/tsconfig.build.json b/packages/account-postgres-sink-service/tsconfig.build.json index 43c1febce..092e722f2 100644 --- a/packages/account-postgres-sink-service/tsconfig.build.json +++ b/packages/account-postgres-sink-service/tsconfig.build.json @@ -16,12 +16,12 @@ "moduleResolution": "Node", "skipLibCheck": true, "baseUrl": ".", - "typeRoots": ["node_modules/@types"], + "typeRoots": ["node_modules/@types", "typings"], "strict": true, "paths": { "@/*": ["*"] }, - "outDir": "lib" + "outDir": "lib", }, - "include": ["src"] + "include": ["src"], } diff --git a/packages/account-postgres-sink-service/typings/cron.d.ts b/packages/account-postgres-sink-service/typings/cron.d.ts new file mode 100644 index 000000000..a2104d388 --- /dev/null +++ b/packages/account-postgres-sink-service/typings/cron.d.ts @@ -0,0 +1,4 @@ +declare module "cron" { + let _cron: any; + export = _cron; +} diff --git a/packages/active-device-oracle/CHANGELOG.md b/packages/active-device-oracle/CHANGELOG.md index c6fc56301..b859f3dab 100644 --- a/packages/active-device-oracle/CHANGELOG.md +++ b/packages/active-device-oracle/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/active-device-oracle + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/active-device-oracle diff --git a/packages/active-device-oracle/package.json b/packages/active-device-oracle/package.json index 752445054..84fdf3438 100644 --- a/packages/active-device-oracle/package.json +++ b/packages/active-device-oracle/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Oracle of helium active devices", "repository": { "type": "git", @@ -41,7 +41,7 @@ "ts-loader": "^9.2.3", "ts-node": "^10.9.1", "ts-node-dev": "^2.0.0", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/anchor-resolvers/CHANGELOG.md b/packages/anchor-resolvers/CHANGELOG.md index 4e443fbb8..d8f64940d 100644 --- a/packages/anchor-resolvers/CHANGELOG.md +++ b/packages/anchor-resolvers/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-library/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/anchor-resolvers + + + + + # [0.4.0](https://github.com/helium/helium-program-library/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/anchor-resolvers diff --git a/packages/anchor-resolvers/package.json b/packages/anchor-resolvers/package.json index d50e1035b..fd8d36e16 100644 --- a/packages/anchor-resolvers/package.json +++ b/packages/anchor-resolvers/package.json @@ -1,6 +1,6 @@ { "name": "@helium/anchor-resolvers", - "version": "0.4.0", + "version": "0.4.1", "description": "Wrappers around anchor custom resolvers to make composition easier", "publishConfig": { "access": "public", @@ -40,7 +40,7 @@ "devDependencies": { "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d" diff --git a/packages/circuit-breaker-sdk/CHANGELOG.md b/packages/circuit-breaker-sdk/CHANGELOG.md index b0e399a4a..a06486d6d 100644 --- a/packages/circuit-breaker-sdk/CHANGELOG.md +++ b/packages/circuit-breaker-sdk/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/circuit-breaker-sdk + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/circuit-breaker-sdk diff --git a/packages/circuit-breaker-sdk/package.json b/packages/circuit-breaker-sdk/package.json index b47eb3e59..1849bfc0e 100644 --- a/packages/circuit-breaker-sdk/package.json +++ b/packages/circuit-breaker-sdk/package.json @@ -5,7 +5,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Interface to the circuit breaker smart contract", "repository": { "type": "git", @@ -32,8 +32,8 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/anchor-resolvers": "^0.4.0", - "@helium/idls": "^0.4.0", + "@helium/anchor-resolvers": "^0.4.1", + "@helium/idls": "^0.4.1", "bn.js": "^5.2.0", "bs58": "^4.0.1" }, @@ -41,7 +41,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/crons/CHANGELOG.md b/packages/crons/CHANGELOG.md index fdf5f8708..ea14b5a5b 100644 --- a/packages/crons/CHANGELOG.md +++ b/packages/crons/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-library/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/crons + + + + + # [0.4.0](https://github.com/helium/helium-program-library/compare/v0.2.21...v0.4.0) (2023-09-22) diff --git a/packages/crons/package.json b/packages/crons/package.json index 8601f643d..d4c05f3d2 100644 --- a/packages/crons/package.json +++ b/packages/crons/package.json @@ -1,6 +1,6 @@ { "name": "@helium/crons", - "version": "0.4.0", + "version": "0.4.1", "description": "scripts to run on a schedule", "private": true, "publishConfig": { @@ -32,16 +32,16 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/distributor-oracle": "^0.4.0", - "@helium/fanout-sdk": "^0.4.0", - "@helium/helium-entity-manager-sdk": "^0.4.0", - "@helium/helium-sub-daos-sdk": "^0.4.0", - "@helium/lazy-distributor-sdk": "^0.4.0", - "@helium/mobile-entity-manager-sdk": "^0.4.0", - "@helium/price-oracle-sdk": "^0.4.0", - "@helium/rewards-oracle-sdk": "^0.4.0", - "@helium/spl-utils": "^0.4.0", - "@helium/treasury-management-sdk": "^0.4.0", + "@helium/distributor-oracle": "^0.4.1", + "@helium/fanout-sdk": "^0.4.1", + "@helium/helium-entity-manager-sdk": "^0.4.1", + "@helium/helium-sub-daos-sdk": "^0.4.1", + "@helium/lazy-distributor-sdk": "^0.4.1", + "@helium/mobile-entity-manager-sdk": "^0.4.1", + "@helium/price-oracle-sdk": "^0.4.1", + "@helium/rewards-oracle-sdk": "^0.4.1", + "@helium/spl-utils": "^0.4.1", + "@helium/treasury-management-sdk": "^0.4.1", "@solana/spl-token": "^0.3.8", "@solana/web3.js": "^1.78.4", "axios": "^1.3.6", @@ -56,7 +56,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" } } diff --git a/packages/currency-utils/CHANGELOG.md b/packages/currency-utils/CHANGELOG.md index 0de7addd8..86a116126 100644 --- a/packages/currency-utils/CHANGELOG.md +++ b/packages/currency-utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-library/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/currency-utils + + + + + # [0.4.0](https://github.com/helium/helium-program-library/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/currency-utils diff --git a/packages/currency-utils/package.json b/packages/currency-utils/package.json index f476c6ba1..cf01a8e09 100644 --- a/packages/currency-utils/package.json +++ b/packages/currency-utils/package.json @@ -1,6 +1,6 @@ { "name": "@helium/currency-utils", - "version": "0.4.0", + "version": "0.4.1", "description": "Currency utilities", "homepage": "https://github.com/helium/helium-program-library#readme", "publishConfig": { diff --git a/packages/data-credits-sdk/CHANGELOG.md b/packages/data-credits-sdk/CHANGELOG.md index f89d60cb7..e9b70e466 100644 --- a/packages/data-credits-sdk/CHANGELOG.md +++ b/packages/data-credits-sdk/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/data-credits-sdk + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/data-credits-sdk diff --git a/packages/data-credits-sdk/package.json b/packages/data-credits-sdk/package.json index f9562cff1..a224b13d1 100644 --- a/packages/data-credits-sdk/package.json +++ b/packages/data-credits-sdk/package.json @@ -5,7 +5,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Interface to the data-credits smart contract", "repository": { "type": "git", @@ -32,10 +32,10 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/anchor-resolvers": "^0.4.0", - "@helium/circuit-breaker-sdk": "^0.4.0", - "@helium/helium-sub-daos-sdk": "^0.4.0", - "@helium/idls": "^0.4.0", + "@helium/anchor-resolvers": "^0.4.1", + "@helium/circuit-breaker-sdk": "^0.4.1", + "@helium/helium-sub-daos-sdk": "^0.4.1", + "@helium/idls": "^0.4.1", "bn.js": "^5.2.0", "bs58": "^4.0.1", "crypto-js": "^4.1.1" @@ -45,7 +45,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/distributor-oracle/CHANGELOG.md b/packages/distributor-oracle/CHANGELOG.md index 8f44fbd1f..c9d492718 100644 --- a/packages/distributor-oracle/CHANGELOG.md +++ b/packages/distributor-oracle/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/distributor-oracle + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/distributor-oracle diff --git a/packages/distributor-oracle/package.json b/packages/distributor-oracle/package.json index 00f623d0e..718588d69 100644 --- a/packages/distributor-oracle/package.json +++ b/packages/distributor-oracle/package.json @@ -5,7 +5,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Oracle server for the lazy distributor", "repository": { "type": "git", @@ -36,14 +36,14 @@ "dependencies": { "@coral-xyz/anchor": "^0.28.0", "@fastify/cors": "^8.1.1", - "@helium/account-fetch-cache": "^0.4.0", + "@helium/account-fetch-cache": "^0.4.1", "@helium/address": "^4.10.2", - "@helium/helium-entity-manager-sdk": "^0.4.0", - "@helium/helium-sub-daos-sdk": "^0.4.0", - "@helium/idls": "^0.4.0", - "@helium/lazy-distributor-sdk": "^0.4.0", - "@helium/rewards-oracle-sdk": "^0.4.0", - "@helium/spl-utils": "^0.4.0", + "@helium/helium-entity-manager-sdk": "^0.4.1", + "@helium/helium-sub-daos-sdk": "^0.4.1", + "@helium/idls": "^0.4.1", + "@helium/lazy-distributor-sdk": "^0.4.1", + "@helium/rewards-oracle-sdk": "^0.4.1", + "@helium/spl-utils": "^0.4.1", "@metaplex-foundation/mpl-bubblegum": "^0.7.0", "@solana/spl-token": "^0.3.8", "@types/sequelize": "^4.28.14", @@ -68,7 +68,7 @@ "nodemon": "^2.0.20", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d" diff --git a/packages/fanout-metadata-service/CHANGELOG.md b/packages/fanout-metadata-service/CHANGELOG.md index d834c27c1..8ab097639 100644 --- a/packages/fanout-metadata-service/CHANGELOG.md +++ b/packages/fanout-metadata-service/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/fanout-metadata-service + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/fanout-metadata-service diff --git a/packages/fanout-metadata-service/package.json b/packages/fanout-metadata-service/package.json index 87d006ba9..377a87e96 100644 --- a/packages/fanout-metadata-service/package.json +++ b/packages/fanout-metadata-service/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Mint metadata of fanout positions", "repository": { "type": "git", @@ -34,10 +34,10 @@ "dependencies": { "@coral-xyz/anchor": "^0.28.0", "@fastify/cors": "^8.1.1", - "@helium/account-fetch-cache": "^0.4.0", + "@helium/account-fetch-cache": "^0.4.1", "@helium/address": "^4.10.2", - "@helium/fanout-sdk": "^0.4.0", - "@helium/spl-utils": "^0.4.0", + "@helium/fanout-sdk": "^0.4.1", + "@helium/spl-utils": "^0.4.1", "@metaplex-foundation/mpl-token-metadata": "^2.10.0", "@solana/spl-account-compression": "^0.1.7", "@solana/spl-token": "^0.3.8", @@ -53,7 +53,7 @@ "ts-loader": "^9.2.3", "ts-node": "^10.9.1", "ts-node-dev": "^2.0.0", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/fanout-sdk/CHANGELOG.md b/packages/fanout-sdk/CHANGELOG.md index ce125481c..ebff0491f 100644 --- a/packages/fanout-sdk/CHANGELOG.md +++ b/packages/fanout-sdk/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/fanout-sdk + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/fanout-sdk diff --git a/packages/fanout-sdk/package.json b/packages/fanout-sdk/package.json index 831c7ab23..02c8f5014 100644 --- a/packages/fanout-sdk/package.json +++ b/packages/fanout-sdk/package.json @@ -5,7 +5,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Interface to the fanout smart contract", "repository": { "type": "git", @@ -32,8 +32,8 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/anchor-resolvers": "^0.4.0", - "@helium/idls": "^0.4.0", + "@helium/anchor-resolvers": "^0.4.1", + "@helium/idls": "^0.4.1", "bn.js": "^5.2.0", "bs58": "^4.0.1" }, @@ -41,7 +41,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d" diff --git a/packages/faucet-service/CHANGELOG.md b/packages/faucet-service/CHANGELOG.md index da765ffc2..c7d04c2d6 100644 --- a/packages/faucet-service/CHANGELOG.md +++ b/packages/faucet-service/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/faucet-service + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/faucet-service diff --git a/packages/faucet-service/package.json b/packages/faucet-service/package.json index a1cb3b74b..cc588c39a 100644 --- a/packages/faucet-service/package.json +++ b/packages/faucet-service/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Faucet for devnet Helium tokens", "repository": { "type": "git", @@ -35,8 +35,8 @@ "dependencies": { "@coral-xyz/anchor": "^0.28.0", "@fastify/cors": "^8.1.1", - "@helium/idls": "^0.4.0", - "@helium/spl-utils": "^0.4.0", + "@helium/idls": "^0.4.1", + "@helium/spl-utils": "^0.4.1", "@metaplex-foundation/mpl-token-metadata": "^2.10.0", "@solana/web3.js": "^1.78.4", "angry-purple-tiger": "^1.0.5", @@ -53,7 +53,7 @@ "ts-loader": "^9.2.3", "ts-node": "^10.9.1", "ts-node-dev": "^2.0.0", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/helium-admin-cli/CHANGELOG.md b/packages/helium-admin-cli/CHANGELOG.md index 0af25fc67..07ca1897f 100644 --- a/packages/helium-admin-cli/CHANGELOG.md +++ b/packages/helium-admin-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/helium-admin-cli + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) diff --git a/packages/helium-admin-cli/package.json b/packages/helium-admin-cli/package.json index 7b339a909..d54b5ef21 100644 --- a/packages/helium-admin-cli/package.json +++ b/packages/helium-admin-cli/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "CLI to bootstrap the network", "repository": { "type": "git", @@ -41,18 +41,18 @@ "dependencies": { "@coral-xyz/anchor": "^0.28.0", "@helium/address": "^4.10.2", - "@helium/circuit-breaker-sdk": "^0.4.0", + "@helium/circuit-breaker-sdk": "^0.4.1", "@helium/crypto": "^4.10.2", - "@helium/data-credits-sdk": "^0.4.0", - "@helium/distributor-oracle": "^0.4.0", - "@helium/fanout-sdk": "^0.4.0", - "@helium/helium-entity-manager-sdk": "^0.4.0", - "@helium/helium-sub-daos-sdk": "^0.4.0", - "@helium/lazy-distributor-sdk": "^0.4.0", - "@helium/mobile-entity-manager-sdk": "^0.4.0", - "@helium/price-oracle-sdk": "^0.4.0", - "@helium/spl-utils": "^0.4.0", - "@helium/treasury-management-sdk": "^0.4.0", + "@helium/data-credits-sdk": "^0.4.1", + "@helium/distributor-oracle": "^0.4.1", + "@helium/fanout-sdk": "^0.4.1", + "@helium/helium-entity-manager-sdk": "^0.4.1", + "@helium/helium-sub-daos-sdk": "^0.4.1", + "@helium/lazy-distributor-sdk": "^0.4.1", + "@helium/mobile-entity-manager-sdk": "^0.4.1", + "@helium/price-oracle-sdk": "^0.4.1", + "@helium/spl-utils": "^0.4.1", + "@helium/treasury-management-sdk": "^0.4.1", "@solana/spl-account-compression": "^0.1.7", "@solana/spl-governance": "^0.3.18", "@solana/spl-token": "^0.3.8", @@ -68,7 +68,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "author": "", diff --git a/packages/helium-entity-manager-sdk/CHANGELOG.md b/packages/helium-entity-manager-sdk/CHANGELOG.md index dabfe69c0..8fc1d96dd 100644 --- a/packages/helium-entity-manager-sdk/CHANGELOG.md +++ b/packages/helium-entity-manager-sdk/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/helium-entity-manager-sdk + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/helium-entity-manager-sdk diff --git a/packages/helium-entity-manager-sdk/package.json b/packages/helium-entity-manager-sdk/package.json index 7bd8b88d2..6ff7f19dc 100644 --- a/packages/helium-entity-manager-sdk/package.json +++ b/packages/helium-entity-manager-sdk/package.json @@ -5,7 +5,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Interface to the helium-entity-manager smart contract", "repository": { "type": "git", @@ -33,10 +33,10 @@ "dependencies": { "@coral-xyz/anchor": "^0.28.0", "@helium/address": "^4.10.2", - "@helium/anchor-resolvers": "^0.4.0", - "@helium/helium-sub-daos-sdk": "^0.4.0", - "@helium/idls": "^0.4.0", - "@helium/spl-utils": "^0.4.0", + "@helium/anchor-resolvers": "^0.4.1", + "@helium/helium-sub-daos-sdk": "^0.4.1", + "@helium/idls": "^0.4.1", + "@helium/spl-utils": "^0.4.1", "bn.js": "^5.2.0", "bs58": "^4.0.1", "crypto-js": "^4.1.1", @@ -47,7 +47,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d" diff --git a/packages/helium-react-hooks/CHANGELOG.md b/packages/helium-react-hooks/CHANGELOG.md index 724be3ca7..50cf792c3 100644 --- a/packages/helium-react-hooks/CHANGELOG.md +++ b/packages/helium-react-hooks/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/helium-react-hooks + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/helium-react-hooks diff --git a/packages/helium-react-hooks/package.json b/packages/helium-react-hooks/package.json index 8c231e0b5..444a14864 100644 --- a/packages/helium-react-hooks/package.json +++ b/packages/helium-react-hooks/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "React hooks for helium", "repository": { "type": "git", @@ -33,8 +33,8 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/account-fetch-cache": "^0.4.0", - "@helium/account-fetch-cache-hooks": "^0.4.0", + "@helium/account-fetch-cache": "^0.4.1", + "@helium/account-fetch-cache-hooks": "^0.4.1", "@solana/spl-token": "^0.3.8", "@solana/web3.js": "^1.78.4", "bs58": "^4.0.1", @@ -45,7 +45,7 @@ "@solana/wallet-adapter-react": "^0.15.32", "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "peerDependencies": { diff --git a/packages/helium-sub-daos-sdk/CHANGELOG.md b/packages/helium-sub-daos-sdk/CHANGELOG.md index 2dcdeceed..80072da43 100644 --- a/packages/helium-sub-daos-sdk/CHANGELOG.md +++ b/packages/helium-sub-daos-sdk/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/helium-sub-daos-sdk + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/helium-sub-daos-sdk diff --git a/packages/helium-sub-daos-sdk/package.json b/packages/helium-sub-daos-sdk/package.json index 38ac5b0ec..07d87981a 100644 --- a/packages/helium-sub-daos-sdk/package.json +++ b/packages/helium-sub-daos-sdk/package.json @@ -5,7 +5,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Interface to the helium-sub-daos smart contract", "repository": { "type": "git", @@ -32,10 +32,10 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/anchor-resolvers": "^0.4.0", - "@helium/circuit-breaker-sdk": "^0.4.0", - "@helium/treasury-management-sdk": "^0.4.0", - "@helium/voter-stake-registry-sdk": "^0.4.0", + "@helium/anchor-resolvers": "^0.4.1", + "@helium/circuit-breaker-sdk": "^0.4.1", + "@helium/treasury-management-sdk": "^0.4.1", + "@helium/voter-stake-registry-sdk": "^0.4.1", "bn.js": "^5.2.0", "bs58": "^4.0.1" }, @@ -43,7 +43,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d" diff --git a/packages/hotspot-utils/CHANGELOG.md b/packages/hotspot-utils/CHANGELOG.md index 4d1432a82..9e25ad92e 100644 --- a/packages/hotspot-utils/CHANGELOG.md +++ b/packages/hotspot-utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-library/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/hotspot-utils + + + + + # [0.4.0](https://github.com/helium/helium-program-library/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/hotspot-utils diff --git a/packages/hotspot-utils/package.json b/packages/hotspot-utils/package.json index 88605cac8..693c28b1d 100644 --- a/packages/hotspot-utils/package.json +++ b/packages/hotspot-utils/package.json @@ -1,6 +1,6 @@ { "name": "@helium/hotspot-utils", - "version": "0.4.0", + "version": "0.4.1", "description": "Utils for Hotspot interaction", "homepage": "https://github.com/helium/helium-program-library#readme", "publishConfig": { @@ -29,10 +29,10 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/helium-entity-manager-sdk": "^0.4.0", - "@helium/helium-sub-daos-sdk": "^0.4.0", - "@helium/idls": "^0.4.0", - "@helium/spl-utils": "^0.4.0", + "@helium/helium-entity-manager-sdk": "^0.4.1", + "@helium/helium-sub-daos-sdk": "^0.4.1", + "@helium/idls": "^0.4.1", + "@helium/spl-utils": "^0.4.1", "@solana/web3.js": "^1.78.4", "bs58": "^4.0.1" }, diff --git a/packages/idls/CHANGELOG.md b/packages/idls/CHANGELOG.md index 31c75a9b0..f7a699716 100644 --- a/packages/idls/CHANGELOG.md +++ b/packages/idls/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-library/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/idls + + + + + # [0.4.0](https://github.com/helium/helium-program-library/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/idls diff --git a/packages/idls/package.json b/packages/idls/package.json index e6d9d5a20..561d7203b 100644 --- a/packages/idls/package.json +++ b/packages/idls/package.json @@ -1,6 +1,6 @@ { "name": "@helium/idls", - "version": "0.4.0", + "version": "0.4.1", "description": "Exported idls", "publishConfig": { "access": "public", @@ -34,7 +34,7 @@ }, "devDependencies": { "ts-loader": "^9.2.3", - "typescript": "^4.8.4" + "typescript": "^5.2.2" }, "gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d" } diff --git a/packages/iot-premine-data-only-service/CHANGELOG.md b/packages/iot-premine-data-only-service/CHANGELOG.md index 623aae948..ee344369a 100644 --- a/packages/iot-premine-data-only-service/CHANGELOG.md +++ b/packages/iot-premine-data-only-service/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-library/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/iot-premine-data-only-service + + + + + # [0.4.0](https://github.com/helium/helium-program-library/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/iot-premine-data-only-service diff --git a/packages/iot-premine-data-only-service/package.json b/packages/iot-premine-data-only-service/package.json index 9490710b0..f14896e10 100644 --- a/packages/iot-premine-data-only-service/package.json +++ b/packages/iot-premine-data-only-service/package.json @@ -1,6 +1,6 @@ { "name": "@helium/iot-premine-data-only-service", - "version": "0.4.0", + "version": "0.4.1", "description": "iot premine data only service", "private": true, "publishConfig": { @@ -34,7 +34,7 @@ "dependencies": { "@coral-xyz/anchor": "^0.28.0", "@fastify/cors": "^8.1.1", - "@helium/account-fetch-cache": "^0.4.0", + "@helium/account-fetch-cache": "^0.4.1", "@helium/address": "^4.10.2", "@solana/spl-token": "^0.3.8", "@solana/web3.js": "^1.78.4", @@ -52,7 +52,7 @@ "@types/yargs": "^17.0.24", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" } } diff --git a/packages/lazy-distributor-sdk/CHANGELOG.md b/packages/lazy-distributor-sdk/CHANGELOG.md index 6a0690ef0..dd03d37d0 100644 --- a/packages/lazy-distributor-sdk/CHANGELOG.md +++ b/packages/lazy-distributor-sdk/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/lazy-distributor-sdk + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/lazy-distributor-sdk diff --git a/packages/lazy-distributor-sdk/package.json b/packages/lazy-distributor-sdk/package.json index a976d32a1..83980d386 100644 --- a/packages/lazy-distributor-sdk/package.json +++ b/packages/lazy-distributor-sdk/package.json @@ -5,7 +5,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Interface to the lazy-distributor smart contract", "repository": { "type": "git", @@ -32,8 +32,8 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/anchor-resolvers": "^0.4.0", - "@helium/circuit-breaker-sdk": "^0.4.0", + "@helium/anchor-resolvers": "^0.4.1", + "@helium/circuit-breaker-sdk": "^0.4.1", "bn.js": "^5.2.0", "bs58": "^4.0.1" }, @@ -41,7 +41,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d" diff --git a/packages/lazy-transactions-sdk/CHANGELOG.md b/packages/lazy-transactions-sdk/CHANGELOG.md index 171f2da84..0bb3b4d0f 100644 --- a/packages/lazy-transactions-sdk/CHANGELOG.md +++ b/packages/lazy-transactions-sdk/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/lazy-transactions-sdk + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) diff --git a/packages/lazy-transactions-sdk/package.json b/packages/lazy-transactions-sdk/package.json index 013a02645..b46e90f06 100644 --- a/packages/lazy-transactions-sdk/package.json +++ b/packages/lazy-transactions-sdk/package.json @@ -5,7 +5,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Interface to the lazy-transactions smart contract", "repository": { "type": "git", @@ -32,8 +32,8 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/idls": "^0.4.0", - "@helium/spl-utils": "^0.4.0", + "@helium/idls": "^0.4.1", + "@helium/spl-utils": "^0.4.1", "bn.js": "^5.2.0", "bs58": "^4.0.1", "js-sha3": "^0.8.0", @@ -43,7 +43,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d" diff --git a/packages/metadata-service/CHANGELOG.md b/packages/metadata-service/CHANGELOG.md index 2e66cad1e..aafd5eaca 100644 --- a/packages/metadata-service/CHANGELOG.md +++ b/packages/metadata-service/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/metadata-service + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/metadata-service diff --git a/packages/metadata-service/package.json b/packages/metadata-service/package.json index ff9e242ca..8eb8ac68f 100644 --- a/packages/metadata-service/package.json +++ b/packages/metadata-service/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Mint metadata of hotspots", "repository": { "type": "git", @@ -35,8 +35,9 @@ "@coral-xyz/anchor": "^0.28.0", "@fastify/cors": "^8.1.1", "@helium/address": "^4.10.2", - "@helium/helium-entity-manager-sdk": "^0.4.0", - "@helium/helium-sub-daos-sdk": "^0.4.0", + "@helium/helium-entity-manager-sdk": "^0.4.1", + "@helium/helium-sub-daos-sdk": "^0.4.1", + "@helium/spl-utils": "^0.4.1", "@metaplex-foundation/mpl-token-metadata": "^2.10.0", "@solana/spl-token": "^0.3.8", "@solana/web3.js": "^1.78.4", @@ -56,7 +57,7 @@ "ts-loader": "^9.2.3", "ts-node": "^10.9.1", "ts-node-dev": "^2.0.0", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/metadata-service/src/constants.ts b/packages/metadata-service/src/constants.ts new file mode 100644 index 000000000..d6004e210 --- /dev/null +++ b/packages/metadata-service/src/constants.ts @@ -0,0 +1,2 @@ +export const SHDW_DRIVE_URL = + "https://shdw-drive.genesysgo.net/6tcnBSybPG7piEDShBcrVtYJDPSvGrDbVvXmXKpzBvWP"; diff --git a/packages/metadata-service/src/index.ts b/packages/metadata-service/src/index.ts index 454234472..b3f310e57 100644 --- a/packages/metadata-service/src/index.ts +++ b/packages/metadata-service/src/index.ts @@ -5,18 +5,19 @@ import { decodeEntityKey, init } from "@helium/helium-entity-manager-sdk"; import { HeliumEntityManager } from "@helium/idls/lib/types/helium_entity_manager"; import { PublicKey } from "@solana/web3.js"; // @ts-ignore +import { truthy } from "@helium/spl-utils"; import animalHash from "angry-purple-tiger"; -import Fastify, { FastifyInstance } from "fastify"; import axios from "axios"; -import { provider } from "./solana"; +import bs58 from "bs58"; +import Fastify, { FastifyInstance } from "fastify"; +import { SHDW_DRIVE_URL } from "./constants"; import { IotHotspotInfo, KeyToAsset, MobileHotspotInfo, sequelize, } from "./model"; -import bs58 from "bs58"; -import { truthy } from "@helium/spl-utils"; +import { provider } from "./solana"; const server: FastifyInstance = Fastify({ logger: true, @@ -33,18 +34,12 @@ let program: Program; server.get<{ Params: { keyToAssetKey: string } }>( "/v1/:keyToAssetKey", async (request, reply) => { + program = program || (await init(provider)); const { keyToAssetKey } = request.params; const keyToAsset = new PublicKey(keyToAssetKey); - if (!program) { - program = await init(provider); - } - const keyToAssetAccount = await program.account.keyToAssetV0.fetch( - keyToAsset - ); - const keyStr = decodeEntityKey( - keyToAssetAccount.entityKey, - keyToAssetAccount.keySerialization - ); + const keyToAssetAcc = await program.account.keyToAssetV0.fetch(keyToAsset); + const { entityKey, keySerialization } = keyToAssetAcc; + const keyStr = decodeEntityKey(entityKey, keySerialization); const digest = animalHash(keyStr); const record = await KeyToAsset.findOne({ where: { @@ -53,6 +48,19 @@ server.get<{ Params: { keyToAssetKey: string } }>( include: [IotHotspotInfo, MobileHotspotInfo], }); + // HACK: If it has a long key, it's an RSA key, and this is a mobile hotspot. + // In the future, we need to put different symbols on different types of hotspots + const hotspotType = entityKey.length > 100 ? "MOBILE" : "IOT"; + const image = `${SHDW_DRIVE_URL}/${ + hotspotType === "MOBILE" + ? record?.mobile_hotspot_info?.is_active + ? "mobile-hotspot-active.png" + : "mobile-hotspot.png" + : record?.iot_hotspot_info?.is_active + ? "hotspot-active.png" + : "hotspot.png" + }`; + return { name: keyStr === "iot_operations_fund" ? "IOT Operations Fund" : digest, description: @@ -61,10 +69,7 @@ server.get<{ Params: { keyToAssetKey: string } }>( : "A Rewardable NFT on Helium", // HACK: If it has a long key, it's an RSA key, and this is a mobile hotspot. // In the future, we need to put different symbols on different types of hotspots - image: - keyToAssetAccount.entityKey.length > 100 - ? "https://shdw-drive.genesysgo.net/6tcnBSybPG7piEDShBcrVtYJDPSvGrDbVvXmXKpzBvWP/mobile-hotspot.png" - : "https://shdw-drive.genesysgo.net/6tcnBSybPG7piEDShBcrVtYJDPSvGrDbVvXmXKpzBvWP/hotspot.png", + image, attributes: [ keyStr && Address.isValid(keyStr) ? { trait_type: "ecc_compact", value: keyStr } @@ -72,7 +77,7 @@ server.get<{ Params: { keyToAssetKey: string } }>( { trait_type: "entity_key_string", value: keyStr }, { trait_type: "entity_key", - value: keyToAssetAccount.entityKey.toString("base64"), + value: entityKey.toString("base64"), }, { trait_type: "rewardable", value: true }, { @@ -114,12 +119,14 @@ server.get<{ Params: { eccCompact: string } }>( }); const digest = animalHash(eccCompact); + const image = `${SHDW_DRIVE_URL}/${ + record?.iot_hotspot_info?.is_active ? "hotspot-active.png" : "hotspot.png" + }`; return { name: digest, description: "A Hotspot NFT on Helium", - image: - "https://shdw-drive.genesysgo.net/6tcnBSybPG7piEDShBcrVtYJDPSvGrDbVvXmXKpzBvWP/hotspot.png", + image, attributes: [ { trait_type: "ecc_compact", value: eccCompact }, { trait_type: "rewardable", value: true }, @@ -132,7 +139,7 @@ server.get<{ Params: { eccCompact: string } }>( }, ...locationAttributes("iot", record?.iot_hotspot_info), ...locationAttributes("mobile", record?.mobile_hotspot_info), - ] + ], }; } ); diff --git a/packages/metadata-service/src/model.ts b/packages/metadata-service/src/model.ts index c60a362a7..c36b5b598 100644 --- a/packages/metadata-service/src/model.ts +++ b/packages/metadata-service/src/model.ts @@ -58,6 +58,7 @@ export class MobileHotspotInfo extends Model { declare country: string; declare lat: number; declare long: number; + declare is_active: boolean; } MobileHotspotInfo.init( { @@ -71,6 +72,7 @@ MobileHotspotInfo.init( city: DataTypes.STRING, state: DataTypes.STRING, country: DataTypes.STRING, + isActive: DataTypes.BOOLEAN, }, { sequelize, @@ -90,6 +92,7 @@ export class IotHotspotInfo extends Model { declare country: string; declare lat: number; declare long: number; + declare is_active: boolean; } IotHotspotInfo.init( { @@ -103,6 +106,7 @@ IotHotspotInfo.init( city: DataTypes.STRING, state: DataTypes.STRING, country: DataTypes.STRING, + isActive: DataTypes.BOOLEAN, }, { sequelize, @@ -144,5 +148,5 @@ KeyToAsset.hasOne(IotHotspotInfo, { }); KeyToAsset.hasOne(MobileHotspotInfo, { sourceKey: "asset", - foreignKey: "asset" + foreignKey: "asset", }); diff --git a/packages/metadata-service/tsconfig.json b/packages/metadata-service/tsconfig.json index 2bbbd2780..31e2caef4 100644 --- a/packages/metadata-service/tsconfig.json +++ b/packages/metadata-service/tsconfig.json @@ -1,6 +1,9 @@ { "extends": "../../tsconfig.root.json", "references": [ + { + "path": "../spl-utils" + }, { "path": "../helium-entity-manager-sdk" }, diff --git a/packages/migration-service/CHANGELOG.md b/packages/migration-service/CHANGELOG.md index f86ac1819..ea5ab7861 100644 --- a/packages/migration-service/CHANGELOG.md +++ b/packages/migration-service/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/migration-service + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) diff --git a/packages/migration-service/package.json b/packages/migration-service/package.json index 429d8c2c3..ede0d93d7 100644 --- a/packages/migration-service/package.json +++ b/packages/migration-service/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Migration of state from helium", "repository": { "type": "git", @@ -35,18 +35,18 @@ "@clockwork-xyz/sdk": "^0.3.0", "@coral-xyz/anchor": "^0.28.0", "@fastify/cors": "^8.1.1", - "@helium/account-fetch-cache": "^0.4.0", + "@helium/account-fetch-cache": "^0.4.1", "@helium/address": "^4.10.2", - "@helium/circuit-breaker-sdk": "^0.4.0", + "@helium/circuit-breaker-sdk": "^0.4.1", "@helium/crypto": "^4.10.2", - "@helium/data-credits-sdk": "^0.4.0", - "@helium/distributor-oracle": "^0.4.0", - "@helium/helium-entity-manager-sdk": "^0.4.0", - "@helium/helium-sub-daos-sdk": "^0.4.0", - "@helium/lazy-distributor-sdk": "^0.4.0", - "@helium/lazy-transactions-sdk": "^0.4.0", - "@helium/treasury-management-sdk": "^0.4.0", - "@helium/voter-stake-registry-sdk": "^0.4.0", + "@helium/data-credits-sdk": "^0.4.1", + "@helium/distributor-oracle": "^0.4.1", + "@helium/helium-entity-manager-sdk": "^0.4.1", + "@helium/helium-sub-daos-sdk": "^0.4.1", + "@helium/lazy-distributor-sdk": "^0.4.1", + "@helium/lazy-transactions-sdk": "^0.4.1", + "@helium/treasury-management-sdk": "^0.4.1", + "@helium/voter-stake-registry-sdk": "^0.4.1", "@metaplex-foundation/mpl-token-metadata": "^2.10.0", "@project-serum/borsh": "^0.2.5", "@solana/buffer-layout": "^4.0.0", @@ -74,7 +74,7 @@ "ts-loader": "^9.2.3", "ts-node": "^10.9.1", "ts-node-dev": "^2.0.0", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/mobile-entity-manager-sdk/CHANGELOG.md b/packages/mobile-entity-manager-sdk/CHANGELOG.md index 652112968..8d46c9393 100644 --- a/packages/mobile-entity-manager-sdk/CHANGELOG.md +++ b/packages/mobile-entity-manager-sdk/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/mobile-entity-manager-sdk + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/mobile-entity-manager-sdk diff --git a/packages/mobile-entity-manager-sdk/package.json b/packages/mobile-entity-manager-sdk/package.json index fc4588bd2..ddeb0e140 100644 --- a/packages/mobile-entity-manager-sdk/package.json +++ b/packages/mobile-entity-manager-sdk/package.json @@ -5,7 +5,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Interface to the mobile-entity-manager smart contract", "repository": { "type": "git", @@ -32,9 +32,9 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/anchor-resolvers": "^0.4.0", - "@helium/helium-entity-manager-sdk": "^0.4.0", - "@helium/idls": "^0.4.0", + "@helium/anchor-resolvers": "^0.4.1", + "@helium/helium-entity-manager-sdk": "^0.4.1", + "@helium/idls": "^0.4.1", "bn.js": "^5.2.0", "bs58": "^4.0.1" }, @@ -43,7 +43,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d" diff --git a/packages/monitor-service/CHANGELOG.md b/packages/monitor-service/CHANGELOG.md index 488f83f91..1e759c4d5 100644 --- a/packages/monitor-service/CHANGELOG.md +++ b/packages/monitor-service/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/monitor-service + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/monitor-service diff --git a/packages/monitor-service/package.json b/packages/monitor-service/package.json index 414960651..92dec126e 100644 --- a/packages/monitor-service/package.json +++ b/packages/monitor-service/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Prometheus monitoring of important accounts on Solana", "repository": { "type": "git", @@ -33,13 +33,13 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/account-fetch-cache": "^0.4.0", - "@helium/circuit-breaker-sdk": "^0.4.0", - "@helium/data-credits-sdk": "^0.4.0", - "@helium/helium-entity-manager-sdk": "^0.4.0", - "@helium/helium-sub-daos-sdk": "^0.4.0", - "@helium/idls": "^0.4.0", - "@helium/lazy-transactions-sdk": "^0.4.0", + "@helium/account-fetch-cache": "^0.4.1", + "@helium/circuit-breaker-sdk": "^0.4.1", + "@helium/data-credits-sdk": "^0.4.1", + "@helium/helium-entity-manager-sdk": "^0.4.1", + "@helium/helium-sub-daos-sdk": "^0.4.1", + "@helium/idls": "^0.4.1", + "@helium/lazy-transactions-sdk": "^0.4.1", "@metaplex-foundation/mpl-token-metadata": "^2.10.0", "@solana/spl-account-compression": "^0.1.7", "@solana/spl-token": "^0.3.8", @@ -60,7 +60,7 @@ "ts-loader": "^9.2.3", "ts-node": "^10.9.1", "ts-node-dev": "^2.0.0", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/price-oracle-sdk/CHANGELOG.md b/packages/price-oracle-sdk/CHANGELOG.md index 7350d47ab..7d1cfca85 100644 --- a/packages/price-oracle-sdk/CHANGELOG.md +++ b/packages/price-oracle-sdk/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/price-oracle-sdk + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/price-oracle-sdk diff --git a/packages/price-oracle-sdk/package.json b/packages/price-oracle-sdk/package.json index d9e4acb66..d621a82ff 100644 --- a/packages/price-oracle-sdk/package.json +++ b/packages/price-oracle-sdk/package.json @@ -5,7 +5,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Interface to the price oracle smart contract", "repository": { "type": "git", @@ -32,7 +32,7 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/idls": "^0.4.0", + "@helium/idls": "^0.4.1", "bn.js": "^5.2.0", "bs58": "^4.0.1" }, @@ -40,7 +40,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/rewards-oracle-faucet-service/CHANGELOG.md b/packages/rewards-oracle-faucet-service/CHANGELOG.md index 9c0f3faa4..1c7866527 100644 --- a/packages/rewards-oracle-faucet-service/CHANGELOG.md +++ b/packages/rewards-oracle-faucet-service/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/rewards-oracle-faucet-service + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/rewards-oracle-faucet-service diff --git a/packages/rewards-oracle-faucet-service/package.json b/packages/rewards-oracle-faucet-service/package.json index 9fdb69d91..3de12e4f9 100644 --- a/packages/rewards-oracle-faucet-service/package.json +++ b/packages/rewards-oracle-faucet-service/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Receives requests from Helius webhooks", "repository": { "type": "git", @@ -47,7 +47,7 @@ "ts-loader": "^9.2.3", "ts-node": "^10.9.1", "ts-node-dev": "^2.0.0", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/rewards-oracle-sdk/CHANGELOG.md b/packages/rewards-oracle-sdk/CHANGELOG.md index cafb8b4f3..f38317d48 100644 --- a/packages/rewards-oracle-sdk/CHANGELOG.md +++ b/packages/rewards-oracle-sdk/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/rewards-oracle-sdk + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/rewards-oracle-sdk diff --git a/packages/rewards-oracle-sdk/package.json b/packages/rewards-oracle-sdk/package.json index 8096fe366..22760921c 100644 --- a/packages/rewards-oracle-sdk/package.json +++ b/packages/rewards-oracle-sdk/package.json @@ -5,7 +5,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Interface to the rewards oracle smart contract", "repository": { "type": "git", @@ -32,8 +32,8 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/anchor-resolvers": "^0.4.0", - "@helium/idls": "^0.4.0", + "@helium/anchor-resolvers": "^0.4.1", + "@helium/idls": "^0.4.1", "bn.js": "^5.2.0", "bs58": "^4.0.1" }, @@ -41,7 +41,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/spl-utils/CHANGELOG.md b/packages/spl-utils/CHANGELOG.md index a421ff1ae..38f87bab4 100644 --- a/packages/spl-utils/CHANGELOG.md +++ b/packages/spl-utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-library/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/spl-utils + + + + + # [0.4.0](https://github.com/helium/helium-program-library/compare/v0.2.21...v0.4.0) (2023-09-22) diff --git a/packages/spl-utils/package.json b/packages/spl-utils/package.json index 332eeb141..5bf894c7e 100644 --- a/packages/spl-utils/package.json +++ b/packages/spl-utils/package.json @@ -1,6 +1,6 @@ { "name": "@helium/spl-utils", - "version": "0.4.0", + "version": "0.4.1", "description": "Utils shared across spl suite", "publishConfig": { "access": "public", @@ -32,9 +32,9 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/account-fetch-cache": "^0.4.0", + "@helium/account-fetch-cache": "^0.4.1", "@helium/address": "^4.10.2", - "@helium/anchor-resolvers": "^0.4.0", + "@helium/anchor-resolvers": "^0.4.1", "@metaplex-foundation/mpl-token-metadata": "^2.10.0", "@solana/spl-account-compression": "^0.1.7", "@solana/spl-token": "^0.3.8", @@ -47,7 +47,7 @@ "devDependencies": { "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d" diff --git a/packages/tokens-to-rent-service/CHANGELOG.md b/packages/tokens-to-rent-service/CHANGELOG.md index e9f5c02aa..629140fdc 100644 --- a/packages/tokens-to-rent-service/CHANGELOG.md +++ b/packages/tokens-to-rent-service/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/tokens-to-rent-service + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/tokens-to-rent-service diff --git a/packages/tokens-to-rent-service/package.json b/packages/tokens-to-rent-service/package.json index ee728c593..7365efe72 100644 --- a/packages/tokens-to-rent-service/package.json +++ b/packages/tokens-to-rent-service/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Service that gives flashloans of sol to allow jupiter swap of small amounts of hnt/mobile/iot to sol for fees", "repository": { "type": "git", @@ -34,9 +34,9 @@ "dependencies": { "@coral-xyz/anchor": "^0.28.0", "@fastify/cors": "^8.1.1", - "@helium/account-fetch-cache": "^0.4.0", + "@helium/account-fetch-cache": "^0.4.1", "@helium/address": "^4.10.2", - "@helium/spl-utils": "^0.4.0", + "@helium/spl-utils": "^0.4.1", "@jup-ag/api": "^6.0.6", "@solana/spl-token": "^0.3.8", "@solana/web3.js": "^1.78.4", @@ -50,7 +50,7 @@ "ts-loader": "^9.2.3", "ts-node": "^10.9.1", "ts-node-dev": "^2.0.0", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/treasury-management-sdk/CHANGELOG.md b/packages/treasury-management-sdk/CHANGELOG.md index 1776b7899..895a8e0ad 100644 --- a/packages/treasury-management-sdk/CHANGELOG.md +++ b/packages/treasury-management-sdk/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/treasury-management-sdk + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/treasury-management-sdk diff --git a/packages/treasury-management-sdk/package.json b/packages/treasury-management-sdk/package.json index 41d4967e9..19df139c7 100644 --- a/packages/treasury-management-sdk/package.json +++ b/packages/treasury-management-sdk/package.json @@ -5,7 +5,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Interface to the treasury-management smart contract", "repository": { "type": "git", @@ -32,9 +32,9 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/anchor-resolvers": "^0.4.0", - "@helium/circuit-breaker-sdk": "^0.4.0", - "@helium/idls": "^0.4.0", + "@helium/anchor-resolvers": "^0.4.1", + "@helium/circuit-breaker-sdk": "^0.4.1", + "@helium/idls": "^0.4.1", "bn.js": "^5.2.0", "bs58": "^4.0.1" }, @@ -42,7 +42,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d" diff --git a/packages/voter-stake-registry-hooks/CHANGELOG.md b/packages/voter-stake-registry-hooks/CHANGELOG.md index ba7005d1f..1b05de782 100644 --- a/packages/voter-stake-registry-hooks/CHANGELOG.md +++ b/packages/voter-stake-registry-hooks/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/voter-stake-registry-hooks + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/voter-stake-registry-hooks diff --git a/packages/voter-stake-registry-hooks/package.json b/packages/voter-stake-registry-hooks/package.json index b3c3c574f..7aa4faef6 100644 --- a/packages/voter-stake-registry-hooks/package.json +++ b/packages/voter-stake-registry-hooks/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "React hooks for helium voter stake registry", "repository": { "type": "git", @@ -33,13 +33,13 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/account-fetch-cache": "^0.4.0", - "@helium/account-fetch-cache-hooks": "^0.4.0", - "@helium/helium-react-hooks": "^0.4.0", - "@helium/helium-sub-daos-sdk": "^0.4.0", + "@helium/account-fetch-cache": "^0.4.1", + "@helium/account-fetch-cache-hooks": "^0.4.1", + "@helium/helium-react-hooks": "^0.4.1", + "@helium/helium-sub-daos-sdk": "^0.4.1", "@helium/modular-governance-hooks": "^0.0.2", - "@helium/spl-utils": "^0.4.0", - "@helium/voter-stake-registry-sdk": "^0.4.0", + "@helium/spl-utils": "^0.4.1", + "@helium/voter-stake-registry-sdk": "^0.4.1", "@metaplex-foundation/js": "^0.19.4", "@solana/wallet-adapter-base": "^0.9.22", "@solana/wallet-adapter-react": "^0.15.32", @@ -50,7 +50,7 @@ "devDependencies": { "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "peerDependencies": { diff --git a/packages/voter-stake-registry-hooks/src/utils/getPositionKeys.ts b/packages/voter-stake-registry-hooks/src/utils/getPositionKeys.ts index 1aaad7452..e4725e709 100644 --- a/packages/voter-stake-registry-hooks/src/utils/getPositionKeys.ts +++ b/packages/voter-stake-registry-hooks/src/utils/getPositionKeys.ts @@ -37,9 +37,9 @@ export function getRegistrarKey(mint: PublicKey) { } const realmNames: Record = { - [HNT_MINT.toBase58()]: "Helium DAO", - [MOBILE_MINT.toBase58()]: "Helium MOBILE SubDAO", - [IOT_MINT.toBase58()]: "Helium IOT SubDAO", + [HNT_MINT.toBase58()]: "Helium", + [MOBILE_MINT.toBase58()]: "Helium MOBILE", + [IOT_MINT.toBase58()]: "Helium IOT", }; export const getPositionKeys = async ( args: GetPositionsArgs diff --git a/packages/voter-stake-registry-sdk/CHANGELOG.md b/packages/voter-stake-registry-sdk/CHANGELOG.md index 1de440365..349a39177 100644 --- a/packages/voter-stake-registry-sdk/CHANGELOG.md +++ b/packages/voter-stake-registry-sdk/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/voter-stake-registry-sdk + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/voter-stake-registry-sdk diff --git a/packages/voter-stake-registry-sdk/package.json b/packages/voter-stake-registry-sdk/package.json index 7912b426a..c7b3c3bba 100644 --- a/packages/voter-stake-registry-sdk/package.json +++ b/packages/voter-stake-registry-sdk/package.json @@ -5,7 +5,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Interface to the voter-stake-registry smart contract", "repository": { "type": "git", @@ -32,8 +32,8 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/anchor-resolvers": "^0.4.0", - "@helium/idls": "^0.4.0", + "@helium/anchor-resolvers": "^0.4.1", + "@helium/idls": "^0.4.1", "@metaplex-foundation/mpl-token-metadata": "^2.10.0", "@solana/spl-token": "^0.3.8", "bn.js": "^5.2.0", @@ -43,7 +43,7 @@ "git-format-staged": "^2.1.3", "ts-loader": "^9.2.3", "ts-node": "^10.9.1", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d" diff --git a/packages/vsr-metadata-service/CHANGELOG.md b/packages/vsr-metadata-service/CHANGELOG.md index 85bdd1c20..a7c5f7fe4 100644 --- a/packages/vsr-metadata-service/CHANGELOG.md +++ b/packages/vsr-metadata-service/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/vsr-metadata-service + + + + + # [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/vsr-metadata-service diff --git a/packages/vsr-metadata-service/package.json b/packages/vsr-metadata-service/package.json index 42f7e67a3..7834b6942 100644 --- a/packages/vsr-metadata-service/package.json +++ b/packages/vsr-metadata-service/package.json @@ -6,7 +6,7 @@ "registry": "https://registry.npmjs.org/" }, "license": "Apache-2.0", - "version": "0.4.0", + "version": "0.4.1", "description": "Mint metadata of vsr positions", "repository": { "type": "git", @@ -34,10 +34,10 @@ "dependencies": { "@coral-xyz/anchor": "^0.28.0", "@fastify/cors": "^8.1.1", - "@helium/account-fetch-cache": "^0.4.0", + "@helium/account-fetch-cache": "^0.4.1", "@helium/address": "^4.10.2", - "@helium/spl-utils": "^0.4.0", - "@helium/voter-stake-registry-sdk": "^0.4.0", + "@helium/spl-utils": "^0.4.1", + "@helium/voter-stake-registry-sdk": "^0.4.1", "@metaplex-foundation/mpl-token-metadata": "^2.10.0", "@solana/spl-account-compression": "^0.1.7", "@solana/spl-token": "^0.3.8", @@ -53,7 +53,7 @@ "ts-loader": "^9.2.3", "ts-node": "^10.9.1", "ts-node-dev": "^2.0.0", - "typescript": "^4.8.4", + "typescript": "^5.2.2", "yarn": "^1.22.18" }, "keywords": [], diff --git a/packages/xnft-hotspot/CHANGELOG.md b/packages/xnft-hotspot/CHANGELOG.md index 5a8e307fb..2d7d771c4 100644 --- a/packages/xnft-hotspot/CHANGELOG.md +++ b/packages/xnft-hotspot/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/helium/helium-program-library/compare/v0.4.0...v0.4.1) (2023-10-12) + +**Note:** Version bump only for package @helium/xnft-hotspot + + + + + # [0.4.0](https://github.com/helium/helium-program-library/compare/v0.2.21...v0.4.0) (2023-09-22) **Note:** Version bump only for package @helium/xnft-hotspot diff --git a/packages/xnft-hotspot/package.json b/packages/xnft-hotspot/package.json index 068d3cc15..b8266785a 100644 --- a/packages/xnft-hotspot/package.json +++ b/packages/xnft-hotspot/package.json @@ -1,6 +1,6 @@ { "name": "@helium/xnft-hotspot", - "version": "0.4.0", + "version": "0.4.1", "private": true, "description": "", "main": "index.js", @@ -18,11 +18,11 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.28.0", - "@helium/account-fetch-cache": "^0.4.0", - "@helium/distributor-oracle": "^0.4.0", - "@helium/helium-react-hooks": "^0.4.0", - "@helium/idls": "^0.4.0", - "@helium/lazy-distributor-sdk": "^0.4.0", + "@helium/account-fetch-cache": "^0.4.1", + "@helium/distributor-oracle": "^0.4.1", + "@helium/helium-react-hooks": "^0.4.1", + "@helium/idls": "^0.4.1", + "@helium/lazy-distributor-sdk": "^0.4.1", "@solana/spl-token": "^0.3.8", "assert": "^2.0.0", "bn.js": "^5.2.0", diff --git a/utils/shared-utils/src/token_metadata.rs b/utils/shared-utils/src/token_metadata.rs index a40d3b7fc..79fee024f 100644 --- a/utils/shared-utils/src/token_metadata.rs +++ b/utils/shared-utils/src/token_metadata.rs @@ -36,7 +36,10 @@ pub fn create_metadata_accounts_v3<'info>( mint: &ctx.accounts.mint, mint_authority: &ctx.accounts.mint_authority, payer: &ctx.accounts.payer, - update_authority: &ctx.accounts.update_authority, + update_authority: ( + &ctx.accounts.update_authority, + ctx.accounts.update_authority.is_signer, + ), system_program: &ctx.accounts.system_program, rent: None, }, diff --git a/yarn.lock b/yarn.lock index b7b1f8865..bd4182158 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11338,11 +11338,16 @@ typescript-collections@^1.3.3: resolved "https://registry.yarnpkg.com/typescript-collections/-/typescript-collections-1.3.3.tgz#62d50d93c018c094d425eabee649f00ec5cc0fea" integrity sha512-7sI4e/bZijOzyURng88oOFZCISQPTHozfE2sUu5AviFYk5QV7fYGb6YiDl+vKjF/pICA354JImBImL9XJWUvdQ== -"typescript@^3 || ^4", typescript@^4.3.5, typescript@^4.8.4: +"typescript@^3 || ^4": version "4.9.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== +typescript@^5.2.2: + version "5.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" + integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== + u3@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/u3/-/u3-0.1.1.tgz#5f52044f42ee76cd8de33148829e14528494b73b"