Skip to content

Conversation

Ansonhkg
Copy link
Collaborator

@Ansonhkg Ansonhkg commented Aug 12, 2025

WHAT

This is the main naga branch 🌶️

Getting started

// 1. install
pnpm install

// 2. build
pnpm build

// 3. test
NETWORK=naga-dev pnpm run test:e2e all

@Ansonhkg
Copy link
Collaborator Author

Packages published to prioritise usability of the naga-dev network:

🦋  success packages published successfully:
🦋  @lit-protocol/[email protected]
🦋  @lit-protocol/[email protected]
🦋  @lit-protocol/[email protected]
🦋  @lit-protocol/[email protected]
🦋  @lit-protocol/[email protected]
🦋  @lit-protocol/[email protected]
🦋  @lit-protocol/[email protected]
🦋  @lit-protocol/[email protected]
🦋  @lit-protocol/[email protected]
🦋  @lit-protocol/[email protected]
🦋  @lit-protocol/[email protected]
🦋  @lit-protocol/[email protected]
🦋  @lit-protocol/[email protected]

- ESlint 8.48.0 no longer supported
- @walletconnect/ethereum-provider is unused
- uuidv4 to `crypto.randomUUID()`

`@simplewebauthn/typescript-types` is NOT yet replaced with later types as unsure with side effects, locked-in to a particular version instead.
```ts
await client.authService.mintWithAuth({
  authData,
  authServiceBaseUrl,
  scopes,
  apiKey: 'YOUR_API_KEY',
});
```

```ts
await WebAuthnAuthenticator.registerAndMintPKP({
  authServiceBaseUrl,
  scopes,
  apiKey: 'YOUR_API_KEY',
});
```

Upcoming PR to use .overrides authBaseUrl and API key instead.
- fixed env should be service specific
- added html packages back to lit-login-server
- renamed lit-*-service to lit-*-server
- return express instance for devs to customise
- pinned @ts-oss/env-cors version

This commit has also been tested locally using the E2E test dApp
…bstract-provider' or its corresponding type declarations.
…Cannot find module '@ethersproject/contracts' or its corresponding type declarations.` error from `packages/access-control-conditions/src/lib/humanizer.ts:1:26`
…y` and update main entry point to index.ts
…rsion 21.2.1, removing deprecated settings and adjusting package versions for compatibility
…ority of them came from `createContractManager` which supplies incompatible client shapes (or mixing public/wallet inference) made Client generics collide. Explicit PublicClient annotation triggered heavy generic expansion and account mismatches. Letting TS infer the type from createPublicClient resolves this.

- removed capacity credits as we have remove this concept for Naga
- Using `LitResourceAbilityRequestSchema` inferred type instead of legacy `CapacityDelegationRequest` (Types to be removed)
- Login server Node's CJS resolving dir name
- types on JobStatus
- declare the `auth-services` package as types node
- replaced @ts-expect-error in error.ts to @ts-ignore
- fixed the type from Ajv
- Introduced StrictAuthData instead of inline type
- bindAccount helper in the createChainManagerFactory to fix signature mismatch
- updated targets from ES2020 to ES2022
…xecutable via node eg. `NODE_OPTIONS=--no-deprecation node ./dist/apps/lit-login-server/main.cjs`
docs(governance): governance, token, node ops
…out-with-decryptandcombine

docs(auth-context): add important considerations for using decryptAnd…
…-docs-to-include-httpsnagaactions

fix(docs): update LitActions API documentation link to the new Naga d…
…e-unified-status-page-links-to-the-doc

feat(docs): add Network Status resource and update introduction with …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants