Skip to content

Commit

Permalink
Switch Package Name to @filebase/sdk (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsmedley committed Dec 22, 2023
1 parent b4f4dc1 commit aa17d9d
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 10 deletions.
18 changes: 15 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"name": "@filebase/sdk",
"version": "1.0.0",
"version": "1.0.1",
"description": "SDK for Interacting with Filebase Services [S3(Buckets, Objects), IPFS(Gateways, Pins) IPNS(Names)]",
"repository": "https://github.com/filebase/filebase-sdk",
"repository": {
"type": "git",
"url": "git+https://github.com/filebase/filebase-sdk.git"
},
"license": "MIT",
"type": "module",
"main": "src/index.js",
Expand All @@ -14,7 +17,16 @@
"test": "node --test",
"doc": "jsdoc -c jsdoc.json"
},
"keywords": ["filebase", "filebase-sdk", "s3", "ipfs", "ipns", "sdk", "web3", "distributed"],
"keywords": [
"filebase",
"filebase-sdk",
"s3",
"ipfs",
"ipns",
"sdk",
"web3",
"distributed"
],
"devDependencies": {
"clean-jsdoc-theme": "4.2.17",
"jsdoc": "4.0.2",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import {
NameManager,
GatewayManager,
PinManager
} from 'filebase-sdk'
} from '@filebase/sdk'

// Initialize BucketManager
const bucketManager = new BucketManager(S3_KEY, S3_SECRET);
Expand Down
2 changes: 1 addition & 1 deletion tutorials/quickstart-bucket.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
**node.js**
````js
// Import Classes
import {BucketManager} from 'filebase-sdk';
import {BucketManager} from '@filebase/sdk';

// Initialize BucketManager
const bucketManager = new BucketManager(S3_KEY, S3_SECRET);
Expand Down
2 changes: 1 addition & 1 deletion tutorials/quickstart-gateway.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
**node.js**
````js
// Import Classes
import {GatewayManager} from 'filebase-sdk';
import {GatewayManager} from '@filebase/sdk';

// Initialize GatewayManager
const gatewayManager = new GatewayManager(S3_KEY, S3_SECRET);
Expand Down
2 changes: 1 addition & 1 deletion tutorials/quickstart-name.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
**node.js**
````js
// Import Classes
import {NameManager} from 'filebase-sdk';
import {NameManager} from '@filebase/sdk';

// Initialize NameManager
const nameManager = new NameManager(S3_KEY, S3_SECRET);
Expand Down
6 changes: 4 additions & 2 deletions tutorials/quickstart-object.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
**node.js**
````js
// Import Classes
import {ObjectManager} from 'filebase-sdk';
import {ObjectManager} from '@filebase/sdk';

// Initialize ObjectManager
const bucketName = `create-object-[random string]`;
const objectManager = new ObjectManager(S3_KEY, S3_SECRET, bucketName);
const objectManager = new ObjectManager(S3_KEY, S3_SECRET, {
bucket: bucketName
});

// Upload Object
const objectName = `new-object`;
Expand Down
2 changes: 1 addition & 1 deletion tutorials/quickstart-pin.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
**node.js**
````js
// Import Classes
import {PinManager} from 'filebase-sdk';
import {PinManager} from '@filebase/sdk';

// Initialize PinManager
const pinManager = new PinManager(S3_KEY, S3_SECRET, {
Expand Down

0 comments on commit aa17d9d

Please sign in to comment.