From 4e6897ff2220b5668d784a16dd1f48db30f271f0 Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 2 Feb 2022 19:09:39 +0100 Subject: [PATCH] docs: replace all mentions of Ory Kratos SDK with Ory SDK (#2187) --- docs/docs/sdk.md | 2 +- docs/docs/self-service.mdx | 2 +- .../self-service/flows/code/logout/samples/browser/node.txt | 2 +- docs/versioned_docs/version-v0.8/sdk.md | 2 +- docs/versioned_docs/version-v0.8/self-service.mdx | 2 +- .../self-service/flows/code/logout/samples/browser/node.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/docs/sdk.md b/docs/docs/sdk.md index 0a23f00530c..4c74e869ed4 100644 --- a/docs/docs/sdk.md +++ b/docs/docs/sdk.md @@ -22,7 +22,7 @@ repositories: - [.NET](https://www.nuget.org/packages/Ory.Kratos.Client/) - [Go](https://github.com/ory/kratos-client-go) - [Java](https://search.maven.org/artifact/sh.ory.kratos/kratos-client) -- [JavaScript](https://www.npmjs.com/package/@ory/kratos-client) with TypeScript +- [JavaScript](https://www.npmjs.com/package/@ory/client) with TypeScript definitions and compatible with: NodeJS, ReactJS, AngularJS, Vue.js, and many more. - [PHP](https://packagist.org/packages/ory/kratos-client) diff --git a/docs/docs/self-service.mdx b/docs/docs/self-service.mdx index 9cde90cee90..bfbe8408a31 100644 --- a/docs/docs/self-service.mdx +++ b/docs/docs/self-service.mdx @@ -639,7 +639,7 @@ snippet: ```tsx import React, { useState, useEffect } from 'react' import { Text, TextInput, View } from 'react-native' -import { Configuration, V0alpha2Api, LoginFlow } from '@ory/kratos-client' +import { Configuration, V0alpha2Api, LoginFlow } from '@ory/client' const kratos = new V0alpha2Api( new Configuration({ basePath: 'https://playground.projects.oryapis.com/api/kratos/public' }) diff --git a/docs/docs/self-service/flows/code/logout/samples/browser/node.txt b/docs/docs/self-service/flows/code/logout/samples/browser/node.txt index 8b268a9b848..4f2bc64f978 100644 --- a/docs/docs/self-service/flows/code/logout/samples/browser/node.txt +++ b/docs/docs/self-service/flows/code/logout/samples/browser/node.txt @@ -1,4 +1,4 @@ -import { Configuration, V0alpha1Api } from '@ory/kratos-client'; +import { Configuration, V0alpha1Api } from '@ory/client'; const kratos = new V0alpha1Api(new Configuration({ basePath: 'https://playground.projects.oryapis.com/api/kratos/public/' })); const route = (req: Request, res: Response) => { diff --git a/docs/versioned_docs/version-v0.8/sdk.md b/docs/versioned_docs/version-v0.8/sdk.md index 0a23f00530c..4c74e869ed4 100644 --- a/docs/versioned_docs/version-v0.8/sdk.md +++ b/docs/versioned_docs/version-v0.8/sdk.md @@ -22,7 +22,7 @@ repositories: - [.NET](https://www.nuget.org/packages/Ory.Kratos.Client/) - [Go](https://github.com/ory/kratos-client-go) - [Java](https://search.maven.org/artifact/sh.ory.kratos/kratos-client) -- [JavaScript](https://www.npmjs.com/package/@ory/kratos-client) with TypeScript +- [JavaScript](https://www.npmjs.com/package/@ory/client) with TypeScript definitions and compatible with: NodeJS, ReactJS, AngularJS, Vue.js, and many more. - [PHP](https://packagist.org/packages/ory/kratos-client) diff --git a/docs/versioned_docs/version-v0.8/self-service.mdx b/docs/versioned_docs/version-v0.8/self-service.mdx index 5ecfa89430e..528641e2af6 100644 --- a/docs/versioned_docs/version-v0.8/self-service.mdx +++ b/docs/versioned_docs/version-v0.8/self-service.mdx @@ -639,7 +639,7 @@ snippet: ```tsx import React, { useState, useEffect } from 'react' import { Text, TextInput, View } from 'react-native' -import { Configuration, V0alpha2Api, LoginFlow } from '@ory/kratos-client' +import { Configuration, V0alpha2Api, LoginFlow } from '@ory/client' const kratos = new V0alpha2Api( new Configuration({ basePath: 'https://playground.projects.oryapis.com/api/kratos/public' }) diff --git a/docs/versioned_docs/version-v0.8/self-service/flows/code/logout/samples/browser/node.txt b/docs/versioned_docs/version-v0.8/self-service/flows/code/logout/samples/browser/node.txt index 8b268a9b848..4f2bc64f978 100644 --- a/docs/versioned_docs/version-v0.8/self-service/flows/code/logout/samples/browser/node.txt +++ b/docs/versioned_docs/version-v0.8/self-service/flows/code/logout/samples/browser/node.txt @@ -1,4 +1,4 @@ -import { Configuration, V0alpha1Api } from '@ory/kratos-client'; +import { Configuration, V0alpha1Api } from '@ory/client'; const kratos = new V0alpha1Api(new Configuration({ basePath: 'https://playground.projects.oryapis.com/api/kratos/public/' })); const route = (req: Request, res: Response) => {