Skip to content

Commit

Permalink
chore: update examples to instantiate clients with only default confi…
Browse files Browse the repository at this point in the history
…gs (#1443)

* chore: update examples to instantiate clients with only default configs

* regenerate package-lock files
  • Loading branch information
anitarua authored Oct 7, 2024
1 parent 411a7a8 commit 3231de6
Show file tree
Hide file tree
Showing 10 changed files with 288 additions and 2,930 deletions.
2 changes: 1 addition & 1 deletion examples/nodejs/storage/basic.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {CreateStoreResponse, PreviewStorageClient, StorageGetResponse, StoragePutResponse} from '@gomomento/sdk';

async function main() {
const storageClient = new PreviewStorageClient({});
const storageClient = new PreviewStorageClient();

const storeName = 'my-store';
const createStoreResponse = await storageClient.createStore(storeName);
Expand Down
16 changes: 8 additions & 8 deletions examples/nodejs/storage/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/nodejs/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"typescript": "4.9.5"
},
"dependencies": {
"@gomomento/sdk": "^1.98.1"
"@gomomento/sdk": "^1.99.0"
},
"engines": {
"node": ">=10.4.0"
Expand Down
Loading

0 comments on commit 3231de6

Please sign in to comment.