Skip to content

Commit

Permalink
feat: amend doc from comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fospring committed Jun 3, 2024
1 parent f077bdd commit c509f7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ This will scaffold a basic template for you 😎
- Find [source code examples](./examples) with common use cases
- Lookup available features in [API reference](https://near.github.io/near-sdk-js/)
- 🏠 Learn more about NEAR on our [Documentation website](https://docs.near.org/)
- Breaking features diff from [SDK 2.0.0 to 1.0.0](near-sdk-js@2.0.0-diff-1.0.0.md)

## Contributing

Expand Down
4 changes: 2 additions & 2 deletions near-sdk-js@2.0.0-diff-1.0.0.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Breaking features from SDK 2.0.0 diff from 1.0.0
# Breaking features diff from SDK 2.0.0 to 1.0.0
## borsh data de/serializer for contract state
* using for: new contracts or migrate from a borsh serialized contract
[example](https://github.com/near/near-sdk-js/blob/develop/examples/src/status-message-borsh.js)
Expand Down Expand Up @@ -161,7 +161,7 @@ export class Contract {
}
}
```
In [near-sdk-js 2.0.0](https://www.npmjs.com/package/near-sdk-js/v/2.0.0-0) With schemas, this is no longer needed, as the SDK can correctly infer how to decode the Nested Collections:
In [near-sdk-js 2.0.0](https://www.npmjs.com/package/near-sdk-js/v/2.0.0) With schemas, this is no longer needed, as the SDK can correctly infer how to decode the Nested Collections:

```typescript
@NearBindgen({})
Expand Down

0 comments on commit c509f7f

Please sign in to comment.