Skip to content

Commit

Permalink
Merge branch 'alpha' into feat/cross_sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
rrr523 committed Apr 20, 2024
2 parents 135a92a + 2a03ab8 commit 5088a53
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/breezy-scissors-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@bnb-chain/greenfield-js-sdk': patch
---

fix: Vgf strategy
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@bnb-chain/greenfield-zk-crypto": "1.0.0"
},
"changesets": [
"breezy-scissors-fold",
"calm-cougars-kiss",
"eleven-dragons-report",
"fifty-moles-serve",
Expand Down
8 changes: 8 additions & 0 deletions examples/browser-file-management/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# browser-file-management

## 0.1.1-alpha.3

### Patch Changes

- Updated dependencies
[[`caf93ce`](https://github.com/bnb-chain/greenfield-js-sdk/commit/caf93ce0cdc0a3242a35a6af82ffb3d201378821)]:
- @bnb-chain/greenfield-js-sdk@2.0.0-alpha.7

## 0.1.1-alpha.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-file-management/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "browser-file-management",
"version": "0.1.1-alpha.2",
"version": "0.1.1-alpha.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
8 changes: 8 additions & 0 deletions examples/nextjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @demo/wallet

## 0.0.28-alpha.7

### Patch Changes

- Updated dependencies
[[`caf93ce`](https://github.com/bnb-chain/greenfield-js-sdk/commit/caf93ce0cdc0a3242a35a6af82ffb3d201378821)]:
- @bnb-chain/greenfield-js-sdk@2.0.0-alpha.7

## 0.0.28-alpha.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@demo/wallet",
"version": "0.0.28-alpha.6",
"version": "0.0.28-alpha.7",
"private": true,
"scripts": {
"dev": "cross-env NODE_ENV=development next dev",
Expand Down
8 changes: 8 additions & 0 deletions examples/nodejs-file-management/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @demo/nodejs

## 0.0.27-alpha.4

### Patch Changes

- Updated dependencies
[[`caf93ce`](https://github.com/bnb-chain/greenfield-js-sdk/commit/caf93ce0cdc0a3242a35a6af82ffb3d201378821)]:
- @bnb-chain/greenfield-js-sdk@2.0.0-alpha.7

## 0.0.27-alpha.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/nodejs-file-management/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@demo/nodejs",
"version": "0.0.27-alpha.3",
"version": "0.0.27-alpha.4",
"type": "commonjs",
"private": true,
"scripts": {
Expand Down
8 changes: 8 additions & 0 deletions packages/js-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @bnb-chain/greenfield-js-sdk

## 2.0.0-alpha.7

### Patch Changes

- [#520](https://github.com/bnb-chain/greenfield-js-sdk/pull/520)
[`caf93ce`](https://github.com/bnb-chain/greenfield-js-sdk/commit/caf93ce0cdc0a3242a35a6af82ffb3d201378821)
Thanks [@rrr523](https://github.com/rrr523)! - fix: Vgf strategy

## 2.0.0-alpha.6

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/js-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bnb-chain/greenfield-js-sdk",
"version": "2.0.0-alpha.6",
"version": "2.0.0-alpha.7",
"description": "greenfield js chain and sp sdk",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
Expand Down Expand Up @@ -59,7 +59,7 @@
]
},
"dependencies": {
"@bnb-chain/greenfield-cosmos-types": "0.4.0-alpha.31",
"@bnb-chain/greenfield-cosmos-types": "0.4.0-alpha.32",
"@cosmjs/proto-signing": "^0.32.0",
"@cosmjs/stargate": "^0.32.0",
"@cosmjs/tendermint-rpc": "^0.32.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/js-sdk/src/api/bucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export class Bucket implements IBucket {
const { globalVirtualGroupFamilyId } =
await this.virtualGroup.getSpOptimalGlobalVirtualGroupFamily({
spId: storageProvider.id,
pickVgfStrategy: PickVGFStrategy.Strategy_Maximize_Free_Store_Size,
pickVgfStrategy: PickVGFStrategy.Strategy_Oldest_Create_Time,
});

const createBucketMsg: MsgCreateBucket = {
Expand Down

0 comments on commit 5088a53

Please sign in to comment.