diff --git a/docs/examples/python/client-cwe.py b/docs/examples/python/client_cwe.py similarity index 100% rename from docs/examples/python/client-cwe.py rename to docs/examples/python/client_cwe.py diff --git a/docs/examples/typescript/auth_provider.ts b/docs/examples/typescript/auth-provider.ts similarity index 98% rename from docs/examples/typescript/auth_provider.ts rename to docs/examples/typescript/auth-provider.ts index 67aa25b6..c576d6d0 100644 --- a/docs/examples/typescript/auth_provider.ts +++ b/docs/examples/typescript/auth-provider.ts @@ -12,4 +12,4 @@ const authProvider = new AuthProvider({ apiGatewayUrl: 'https://apse1.api.affinidi.io' }) -const projectScopedToken = await authProvider.fetchProjectScopedToken() \ No newline at end of file +const projectScopedToken = await authProvider.fetchProjectScopedToken() diff --git a/packages/auth-provider/README.md b/packages/auth-provider/README.md index 7703428a..473c2fe9 100644 --- a/packages/auth-provider/README.md +++ b/packages/auth-provider/README.md @@ -32,7 +32,7 @@ const authProvider = new AuthProvider({ tokenEndpoint, }) -const projectScopedToken = await authProvider.getProjectScopedToken() +const projectScopedToken = await authProvider.fetchProjectScopedToken() ``` ### Python