Skip to content

Commit

Permalink
Merge pull request #432 from LIT-Protocol/publish/5.0.0
Browse files Browse the repository at this point in the history
chore: Publish 5.0.0
  • Loading branch information
Bean authored Apr 19, 2024
2 parents 810558b + e9c1610 commit 75664ff
Show file tree
Hide file tree
Showing 30 changed files with 56 additions and 54 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div align="center">
<h1>Lit Protocol Javascript/Typescript SDK V4.2.0</h1>
<h1>Lit Protocol Javascript/Typescript SDK V5.0.0</h1>

<img src="https://i.ibb.co/p2xfzK1/Screenshot-2022-11-15-at-09-56-57.png">
<br/>
Expand Down Expand Up @@ -92,7 +92,7 @@ If you're a tech-savvy user and wish to utilize only specific submodules that ou

## API Doc

- V3 (Current): https://v3.api-docs.getlit.dev/ <b4/>
- V5 (Current): https://v3.api-docs.getlit.dev/ <b4/>

### Old APIs Doc(s)

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useNx": true,
"useWorkspaces": true,
"version": "4.2.1"
"version": "5.0.0"
}
2 changes: 1 addition & 1 deletion packages/access-control-conditions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"tags": [
"universal"
],
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/auth-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"tags": [
"browser"
],
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/auth-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"crypto": false,
"stream": false
},
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/bls-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"buildOptions": {
"genReact": false
},
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"tags": [
"universal"
],
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
18 changes: 2 additions & 16 deletions packages/constants/src/lib/constants/autogen_internal.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,13 @@
// This file is auto-generated by tools/scripts/gen-internal-dev.mjs
export const INTERNAL_DEV = [
'https://167.114.17.201:443',
'https://64.131.85.108:443',
'https://167.114.17.202:443',
'https://167.114.17.203:443',
'https://167.114.17.204:443',
'https://64.131.85.106:443',
];
export const INTERNAL_DEV = [];

export const INTERNAL_MIN_NODE_COUNT = 2;

export const INTERNAL_DEFAULT_CONFIG = {
alertWhenUnauthorized: false,
minNodeCount: 2,
debug: true,
bootstrapUrls: [
'https://167.114.17.201:443',
'https://64.131.85.108:443',
'https://167.114.17.202:443',
'https://167.114.17.203:443',
'https://167.114.17.204:443',
'https://64.131.85.106:443',
],
bootstrapUrls: [],
litNetwork: 'internalDev',
connectTimeout: 20000,
};
2 changes: 1 addition & 1 deletion packages/constants/src/lib/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '4.2.1';
export const version = '5.0.0';
2 changes: 1 addition & 1 deletion packages/contracts-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"tags": [
"universal"
],
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
6 changes: 4 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lit-protocol/core",
"version": "4.2.1",
"version": "5.0.0",
"type": "commonjs",
"license": "MIT",
"homepage": "https://github.com/Lit-Protocol/js-sdk",
Expand All @@ -24,5 +24,7 @@
},
"tags": [
"universal"
]
],
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"tags": [
"universal"
],
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/ecdsa-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"tags": [
"universal"
],
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/encryption/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"crypto": false,
"stream": false
},
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
6 changes: 4 additions & 2 deletions packages/lit-auth-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lit-protocol/lit-auth-client",
"version": "4.2.1",
"version": "5.0.0",
"type": "commonjs",
"license": "MIT",
"homepage": "https://github.com/Lit-Protocol/js-sdk",
Expand Down Expand Up @@ -29,5 +29,7 @@
"@simplewebauthn/browser": "^7.2.0",
"@simplewebauthn/typescript-types": "^7.0.0",
"nanoid": "3.3.4"
}
},
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/lit-node-client-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"tags": [
"nodejs"
],
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/lit-node-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"crypto": false,
"stream": false
},
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
6 changes: 4 additions & 2 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"name": "@lit-protocol/logger",
"version": "4.2.1",
"version": "5.0.0",
"type": "commonjs",
"tags": [
"universal"
],
"publishConfig": {
"access": "public",
"directory": "../../dist/packages/logger"
}
},
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/misc-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"tags": [
"browser"
],
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/misc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"tags": [
"universal"
],
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/nacl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"access": "public",
"directory": "../../dist/packages/nacl"
},
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
6 changes: 4 additions & 2 deletions packages/pkp-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lit-protocol/pkp-base",
"version": "4.2.1",
"version": "5.0.0",
"type": "commonjs",
"license": "MIT",
"homepage": "https://github.com/Lit-Protocol/js-sdk",
Expand All @@ -24,5 +24,7 @@
},
"tags": [
"universal"
]
],
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
6 changes: 4 additions & 2 deletions packages/pkp-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lit-protocol/pkp-client",
"version": "4.2.1",
"version": "5.0.0",
"type": "commonjs",
"license": "MIT",
"homepage": "https://github.com/Lit-Protocol/js-sdk",
Expand All @@ -24,5 +24,7 @@
},
"tags": [
"universal"
]
],
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
6 changes: 4 additions & 2 deletions packages/pkp-cosmos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lit-protocol/pkp-cosmos",
"version": "4.2.1",
"version": "5.0.0",
"type": "commonjs",
"license": "MIT",
"homepage": "https://github.com/Lit-Protocol/js-sdk",
Expand All @@ -24,5 +24,7 @@
},
"tags": [
"universal"
]
],
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/pkp-ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"tags": [
"universal"
],
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
6 changes: 4 additions & 2 deletions packages/pkp-sui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lit-protocol/pkp-sui",
"version": "4.2.1",
"version": "5.0.0",
"type": "commonjs",
"license": "MIT",
"homepage": "https://github.com/Lit-Protocol/js-sdk",
Expand All @@ -24,5 +24,7 @@
},
"tags": [
"universal"
]
],
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
6 changes: 4 additions & 2 deletions packages/pkp-walletconnect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lit-protocol/pkp-walletconnect",
"version": "4.2.1",
"version": "5.0.0",
"type": "commonjs",
"license": "MIT",
"homepage": "https://github.com/Lit-Protocol/js-sdk",
Expand Down Expand Up @@ -31,5 +31,7 @@
},
"tags": [
"universal"
]
],
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/sev-snp-utils-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"buildOptions": {
"genReact": false
},
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"buildOptions": {
"genReact": false
},
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/uint8arrays/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"tags": [
"universal"
],
"version": "4.2.1",
"version": "5.0.0",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}

0 comments on commit 75664ff

Please sign in to comment.