Skip to content

Commit

Permalink
chore: upgrade from v1alpha --> v1beta (#52)
Browse files Browse the repository at this point in the history
Because

- upgrade from `v1alpha` --> `v1beta`

This commit

- upgrade from `v1alpha` --> `v1beta`
  • Loading branch information
iamnamananand996 authored Jan 17, 2024
1 parent c6a2afb commit 5f5462c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function TypescriptSdkDemo() {
const client = new InstillClient(
"http://localhost:8080",
"v1alpha",
"v1beta",
"<your_api_token>" // get console API token from `http://localhost:3000/settings`
);
Expand Down Expand Up @@ -109,7 +109,7 @@ export default function TypescriptSdkDemo() {
const client = new InstillClient(
"https://api.instill.tech",
"v1alpha",
"v1beta",
"<your_api_token>" // console API token
);
Expand Down Expand Up @@ -174,7 +174,7 @@ client.PipelineClient.createUserPipelineMutation("<userName>",
{
"id": "overseas-blue-lobster",
"recipe": {
"version": "v1alpha",
"version": "v1beta",
"components": [
{
"id": "start",
Expand Down
2 changes: 1 addition & 1 deletion examples/next-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function TypescriptSdkDemo() {
const client = new InstillClient(
"https://api.instill.tech",
"v1alpha",
"v1beta",
"" // console API token
);
Expand Down
4 changes: 2 additions & 2 deletions examples/next-app/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function TypescriptSdkDemo() {

const client = new InstillClient(
"http://localhost:8080",
"v1alpha",
"v1beta",
"instill_sk_pgybOAbZmtjB7S5DTDJcmryE7utibLAN" // console API token from http://localhost:3000/settings
);

Expand Down Expand Up @@ -64,7 +64,7 @@ export default function TypescriptSdkDemo() {

// const client = new InstillClient(
// "https://api.instill.tech",
// "v1alpha",
// "v1beta",
// "instill_sk_OwuGQ8RGL6ObzYsneAG9Mib1k6zi9Gmj" // console API token
// );

Expand Down
2 changes: 1 addition & 1 deletion examples/node-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const port = 5000;
const client = new InstillClient(
"https://api.instill.tech",
"v1alpha",
"v1beta",
"" // console API token
);
Expand Down
4 changes: 2 additions & 2 deletions examples/node-app/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const port = 5000;

const client = new InstillClient(
"https://api.instill.tech",
"v1alpha",
"v1beta",
"instill_sk_8uAG5VaqLDqtXEk3mFEBmMJXQSnTxmkz" // console API token
);

Expand Down Expand Up @@ -35,7 +35,7 @@ app.listen(port, () => {

// const client = new InstillClient(
// "http://localhost:8080",
// "v1alpha",
// "v1beta",
// "instill_sk_pgybOAbZmtjB7S5DTDJcmryE7utibLAN" // console API token from http://localhost:3000/settings
// );

Expand Down
2 changes: 1 addition & 1 deletion src/tests/recipePayload.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "overseas-blue-lobster",
"recipe": {
"version": "v1alpha",
"version": "v1beta",
"components": [
{
"id": "start",
Expand Down

0 comments on commit 5f5462c

Please sign in to comment.