Skip to content

Commit 4e7fb77

Browse files
authored
Merge pull request #562 from InjectiveLabs/chore/telemetry
chore/telemetry
2 parents 552058d + 309bbc3 commit 4e7fb77

File tree

24 files changed

+331
-116
lines changed

24 files changed

+331
-116
lines changed

.github/workflows/beta.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Publish beta branch
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- master
7+
- dev
8+
9+
jobs:
10+
publish-beta:
11+
runs-on: ubuntu-latest
12+
permissions: write-all
13+
if: ${{ contains(github.ref_name, 'beta') || contains(github.event.commits[0].message, 'beta') }}
14+
steps:
15+
- name: 'Checkout'
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 1
19+
20+
- name: 'Use NodeJS 20'
21+
uses: actions/setup-node@v2
22+
with:
23+
node-version: '20.17.0'
24+
25+
- name: 'Setup [email protected]'
26+
run: yarn global add [email protected] --ignore-engines
27+
28+
- name: Set up Git user
29+
run: |
30+
git config user.name "${{ github.actor }}"
31+
git config user.email "${{ github.actor }}@users.noreply.github.com"
32+
33+
- name: Build dependencies
34+
run: |
35+
lerna clean --yes
36+
node etc/bootstrapEnv
37+
yarn install --ignore-engines
38+
yarn build
39+
40+
- name: 'Setup npm'
41+
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
42+
env:
43+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
44+
45+
- name: Version and publish
46+
env:
47+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
48+
run: |
49+
lerna version prerelease --preid beta --force-git-tag --no-changelog --yes
50+
lerna publish from-git --force-git-tag --dist-tag beta --yes --summary-file
51+
52+
- name: 'Broadcast published versions on Slack'
53+
run: node etc/slack --api=$SLACK_API --actor=$GIT_ACTOR --commit-message=$GIT_LATEST_COMMIT_MESSAGE
54+
env:
55+
GIT_ACTOR: ${{ github.actor }}
56+
SLACK_API: ${{ secrets.SLACK_API }}
57+
GIT_LATEST_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}

packages/exceptions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@injectivelabs/exceptions",
33
"description": "List of exceptions that can be reused throughout Injective's projects.",
4-
"version": "1.15.21",
4+
"version": "1.15.22-beta.0",
55
"sideEffects": false,
66
"license": "Apache-2.0",
77
"type": "module",

packages/networks/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@injectivelabs/networks",
33
"description": "Endpoints, networks, etc. Can be reused throughout Injective's projects.",
4-
"version": "1.15.22",
4+
"version": "1.15.23-beta.0",
55
"sideEffects": false,
66
"type": "module",
77
"license": "Apache-2.0",
@@ -56,7 +56,7 @@
5656
"start": "node dist/index.js"
5757
},
5858
"dependencies": {
59-
"@injectivelabs/ts-types": "^1.15.22"
59+
"@injectivelabs/ts-types": "^1.15.23-beta.0"
6060
},
6161
"devDependencies": {
6262
"shx": "^0.3.4"

packages/sdk-ts/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@injectivelabs/sdk-ts",
33
"description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.",
4-
"version": "1.15.24",
4+
"version": "1.15.25-beta.0",
55
"sideEffects": false,
66
"license": "Apache-2.0",
77
"author": {
@@ -123,16 +123,16 @@
123123
"@cosmjs/stargate": "^0.33.0",
124124
"@injectivelabs/abacus-proto-ts": "1.14.0",
125125
"@injectivelabs/core-proto-ts": "1.14.3",
126-
"@injectivelabs/exceptions": "^1.15.21",
126+
"@injectivelabs/exceptions": "^1.15.22-beta.0",
127127
"@injectivelabs/grpc-web": "^0.0.1",
128128
"@injectivelabs/grpc-web-node-http-transport": "^0.0.2",
129129
"@injectivelabs/grpc-web-react-native-transport": "^0.0.2",
130130
"@injectivelabs/indexer-proto-ts": "1.13.12",
131131
"@injectivelabs/mito-proto-ts": "1.13.2",
132-
"@injectivelabs/networks": "^1.15.22",
132+
"@injectivelabs/networks": "^1.15.23-beta.0",
133133
"@injectivelabs/olp-proto-ts": "1.13.4",
134-
"@injectivelabs/ts-types": "^1.15.22",
135-
"@injectivelabs/utils": "^1.15.22",
134+
"@injectivelabs/ts-types": "^1.15.23-beta.0",
135+
"@injectivelabs/utils": "^1.15.23-beta.0",
136136
"@metamask/eth-sig-util": "^8.2.0",
137137
"@noble/curves": "^1.8.1",
138138
"@noble/hashes": "^1.7.1",

packages/sdk-ts/src/client/indexer/types/spot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { GrpcOrderType } from '../../chain/types/exchange.js'
99
import { PriceLevel } from './exchange.js'
1010
import { TokenMeta } from './../../../types/token.js'
1111
import { InjectiveSpotExchangeRpc } from '@injectivelabs/indexer-proto-ts'
12-
import { Coin } from '@injectivelabs//ts-types'
12+
import { Coin } from '@injectivelabs/ts-types'
1313

1414
export interface SpotMarket {
1515
marketId: string

packages/sdk-ts/src/core/tx/types/tx.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ export interface CreateTransactionResult {
104104
signBytes: Uint8Array // the sign bytes of the transaction (SignDoc serialized to binary)
105105
signHashedBytes: Uint8Array // the sign bytes of the transaction (SignDoc serialized to binary) and hashed using keccak256
106106
}
107-
108107
export interface TxResponse {
109108
height: number
110109
txHash: string

packages/ts-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@injectivelabs/ts-types",
33
"description": "List of types that can be reused throughout Injective.",
4-
"version": "1.15.22",
4+
"version": "1.15.23-beta.0",
55
"sideEffects": false,
66
"license": "Apache-2.0",
77
"type": "module",

packages/utils/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@injectivelabs/utils",
33
"description": "List of utils and helper functions that can be reused throughout Injective's projects.",
4-
"version": "1.15.22",
4+
"version": "1.15.23-beta.0",
55
"sideEffects": false,
66
"type": "module",
77
"author": {
@@ -77,9 +77,9 @@
7777
},
7878
"dependencies": {
7979
"@bangjelkoski/store2": "^2.14.3",
80-
"@injectivelabs/exceptions": "^1.15.21",
81-
"@injectivelabs/networks": "^1.15.22",
82-
"@injectivelabs/ts-types": "^1.15.22",
80+
"@injectivelabs/exceptions": "^1.15.22-beta.0",
81+
"@injectivelabs/networks": "^1.15.23-beta.0",
82+
"@injectivelabs/ts-types": "^1.15.23-beta.0",
8383
"axios": "^1.8.1",
8484
"bignumber.js": "^9.1.2",
8585
"http-status-codes": "^2.3.0"

packages/wallets/wallet-base/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@injectivelabs/wallet-base",
33
"description": "Base wallet strategy for use with @injectivelabs/wallet-core.",
4-
"version": "1.15.24",
4+
"version": "1.15.25-beta.0",
55
"sideEffects": false,
66
"type": "module",
77
"author": {
@@ -56,10 +56,10 @@
5656
"start": "node dist/index.js"
5757
},
5858
"dependencies": {
59-
"@injectivelabs/exceptions": "^1.15.21",
60-
"@injectivelabs/networks": "^1.15.22",
61-
"@injectivelabs/sdk-ts": "^1.15.24",
62-
"@injectivelabs/ts-types": "^1.15.22",
59+
"@injectivelabs/exceptions": "^1.15.22-beta.0",
60+
"@injectivelabs/networks": "^1.15.23-beta.0",
61+
"@injectivelabs/sdk-ts": "^1.15.25-beta.0",
62+
"@injectivelabs/ts-types": "^1.15.23-beta.0",
6363
"eip1193-provider": "^1.0.1"
6464
},
6565
"devDependencies": {

packages/wallets/wallet-core/package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@injectivelabs/wallet-core",
33
"description": "Core wallet strategy",
4-
"version": "1.15.24",
4+
"version": "1.15.25-beta.0",
55
"sideEffects": false,
66
"type": "module",
77
"author": {
@@ -56,13 +56,14 @@
5656
"start": "node dist/index.js"
5757
},
5858
"dependencies": {
59-
"@injectivelabs/exceptions": "^1.15.21",
60-
"@injectivelabs/networks": "^1.15.22",
61-
"@injectivelabs/sdk-ts": "^1.15.24",
62-
"@injectivelabs/ts-types": "^1.15.22",
63-
"@injectivelabs/utils": "^1.15.22",
64-
"@injectivelabs/wallet-base": "^1.15.24",
65-
"@keplr-wallet/types": "^0.12.159"
59+
"@injectivelabs/exceptions": "^1.15.22-beta.0",
60+
"@injectivelabs/networks": "^1.15.23-beta.0",
61+
"@injectivelabs/sdk-ts": "^1.15.25-beta.0",
62+
"@injectivelabs/ts-types": "^1.15.23-beta.0",
63+
"@injectivelabs/utils": "^1.15.23-beta.0",
64+
"@injectivelabs/wallet-base": "^1.15.25-beta.0",
65+
"@keplr-wallet/types": "^0.12.159",
66+
"eventemitter3": "^5.0.1"
6667
},
6768
"devDependencies": {
6869
"shx": "^0.3.3"

0 commit comments

Comments
 (0)