Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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