Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
208b7fd
Add hardcoded keysets
GTC6244 Aug 20, 2025
2bd158b
feat(networks): Add the missing `keySetId` field to `mintWithMultiAut…
Ansonhkg Aug 21, 2025
c94e212
Add cargo lock
GTC6244 Aug 21, 2025
9b94223
chore(package.json): update @lit-protocol/contracts version to 0.5.0 …
Ansonhkg Aug 28, 2025
e1fdd87
fix(custom-auth):
Ansonhkg Sep 1, 2025
11178a5
chore(.gitignore): add missing entries for `lit-auth-artillery` and `…
Ansonhkg Sep 1, 2025
a19777b
refactor(custom-auth): clean up comments and formatting in custom aut…
Ansonhkg Sep 1, 2025
689e557
feat(rpc): implement RPC URL override functionality in various modules
Ansonhkg Sep 4, 2025
c922755
fix(auth-server): `initSystemContext` to override RPC URL
Ansonhkg Sep 4, 2025
18cc2c2
fix(private-rpc): withOverrides no longer monkey-patches methods nor …
Ansonhkg Sep 4, 2025
249d8ac
fix(e2e): rpc override test
Ansonhkg Sep 5, 2025
a19db40
fix(type): return type
Ansonhkg Sep 4, 2025
a49260e
fix(networks): add export functions
Ansonhkg Sep 4, 2025
279a481
fix: https://github.com/LIT-Protocol/js-sdk/pull/881#discussion_r2337…
Ansonhkg Sep 12, 2025
2bf0d96
https://github.com/LIT-Protocol/js-sdk/pull/881#discussion_r2337344946
Ansonhkg Sep 12, 2025
64a4b12
fix(accs): Custom EVM contract condition type failing on unified acce…
Ansonhkg Sep 12, 2025
7b54590
Merge pull request #881 from LIT-Protocol/feature/jss-85-bug-fix-cust…
Ansonhkg Sep 15, 2025
1b45ebf
Merge pull request #883 from LIT-Protocol/feature/jss-81-naga-bug-ove…
Ansonhkg Sep 16, 2025
e581b7b
Merge branch 'naga_add_hardcoded_keysets-3' into feature/jss-82-naga-…
Ansonhkg Sep 16, 2025
f4f5926
Merge pull request #884 from LIT-Protocol/feature/jss-82-naga-bug-som…
Ansonhkg Sep 16, 2025
5670ab2
Merge pull request #888 from LIT-Protocol/feature/jss-100-naga-bug-ac…
Ansonhkg Sep 18, 2025
83c4352
fix(wasm): update wasm-pack profile to retain optimization flags
Ansonhkg Sep 19, 2025
aec35a7
Merge branch 'naga' into naga_add_hardcoded_keysets-3
Ansonhkg Sep 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/auth-services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@elysiajs/cors": "^1.2.0",
"@elysiajs/static": "^1.3.0",
"@elysiajs/swagger": "^1.2.0",
"@lit-protocol/contracts": "^0.4.0",
"@lit-protocol/contracts": "^0.5.0",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated contract addresses for naga-dev

"@simplewebauthn/server": "6.2.1",
"@simplewebauthn/typescript-types": "^8.3.4",
"@t3-oss/env-core": "^0.12.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/networks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"directory": "../../dist/packages/networks"
},
"dependencies": {
"@lit-protocol/contracts": "^0.4.0",
"@lit-protocol/contracts": "^0.5.0",
"@lit-protocol/nacl": "7.1.1",
"@noble/curves": "^1.8.1",
"@wagmi/core": "^2.17.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export const mintPKP = async (
const tx = await mintNextAndAddAuthMethods(
{
keyType: 2,
keySetId: 'naga-keyset1',
permittedAuthMethodTypes: [validatedRequest.authMethodType],
permittedAuthMethodIds: [validatedRequest.authMethodId],
permittedAuthMethodPubkeys: [validatedRequest.pubkey],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export const mintWithMultiAuths = async (
const tx = await mintNextAndAddAuthMethods(
{
keyType: 2,
keySetId: 'naga-keyset1',
permittedAuthMethodTypes: validatedRequest.authMethodTypes,
permittedAuthMethodIds: validatedRequest.authMethodIds,
permittedAuthMethodPubkeys: validatedRequest.pubkeys,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function mintNext(
const hash = await callWithAdjustedOverrides(
pkpNftContract,
'mintNext',
[2],
[2,'naga-keyset1'],
{
value: mintCost,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export async function mintNextAndAddAuthMethods(
'mintNextAndAddAuthMethods',
[
validatedRequest.keyType,
validatedRequest.keySetId,
validatedRequest.permittedAuthMethodTypes,
validatedRequest.permittedAuthMethodIds,
validatedRequest.permittedAuthMethodPubkeys,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {

export const MintRequestSchema = z.object({
keyType: toBigInt,
keySetId: z.literal('naga-keyset1'),
permittedAuthMethodTypes: toBigIntArray,
permittedAuthMethodIds: toHexStringArray,
permittedAuthMethodPubkeys: toHexStringArray,
Expand Down
68 changes: 34 additions & 34 deletions packages/wasm/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion packages/wasm/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,7 @@ lto = true
wasm-opt=['-Os']

[package.metadata.wasm-pack.profile.profiling]
wasm-opt = ['-g', '-O']
wasm-opt = ['-g', '-O']

[package.metadata.wasm-pack.profile.release]
wasm-opt = false
7 changes: 7 additions & 0 deletions packages/wasm/rust/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright 2022 WorkGraph, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading
Loading