Skip to content

Commit

Permalink
docs: minor update of the example for storageGetEvicted
Browse files Browse the repository at this point in the history
  • Loading branch information
denbite committed Nov 18, 2024
1 parent 602dd88 commit 9036dae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion packages/near-sdk-js/lib/api.d.ts

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

4 changes: 3 additions & 1 deletion packages/near-sdk-js/lib/api.js

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

4 changes: 3 additions & 1 deletion packages/near-sdk-js/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,10 @@ export function storageGetEvictedRaw(): Uint8Array {
* near.storageGetEvicted(); // -> "value111"
*
* near.storageWrite("key2", "value222");
* near.storageGetEvicted(); // -> "value222"
*
* near.storageRemove("key"); // -> "value111"
* near.storageRemove("key");
* near.storageGetEvicted(); // -> "value111"
* ```
*/
export function storageGetEvicted(): string {
Expand Down

0 comments on commit 9036dae

Please sign in to comment.