Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@casual-simulation/crypto

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@casual-simulation/crypto - npm Package Versions

1
9

2.0.22

Diff

Changelog

Source

V2.0.22

Date: 1/3/2022

:boom: Breaking Changes

  • Removed the following functions:
    • os.publishRecord()
    • os.getRecords()
    • os.destroyRecord()
    • byAuthID()
    • withAuthToken()
    • byAddress()
    • byPrefix()

:rocket: Improvements

  • Implemented the next version of records.
    • This version replaces the old API (os.publishRecord()) and introduces a new paradigm.
    • The first major change is that records now represent multiple pieces of data.
    • os.getPublicRecordKey(recordName) has been added as a way to retrieve a key that can be used to write data and files to a public record.
    • os.recordData(recordKey, address, data) can be used to store a piece of data at an address inside a record. This data can later be retrieved with os.getData(recordKeyOrName, address).
    • os.getData(recordKeyOrName, address) can be used to retrieve data that was stored in a record.
    • os.recordFile(recordKey, data, options?) can be used to store a file inside a record. Files can be any size and can be accessed via webhook() or os.getFile(url).
    • os.getFile(urlOrRecordFileResult) can be used to easily retrieve a file.
    • os.isRecordKey(value) is useful for determining if a value represents a record key.
    • See the documentation for more information.
  • Updated Material Icons to the latest publicly available version.
kallyngowdyyeti
published 2.0.22-alpha.1651045562 •

kallyngowdyyeti
published 2.0.14 •

Changelog

Source

V2.0.14

Date: 10/29/2021

:rocket: Improvements

  • Improved the local space to delete the oldest inst when localStorage is full.
  • Added the pointerPixelX and pointerPixelY tags to the gridPortalBot to track the mouse pointer position on the screen.
  • Improved the records system to be able to store records larger than 300KB in size.
    • Records larger than 300KB will be placed in an S3 bucket.
    • Records stored in S3 will now have a dataURL instead of data that points to where the record can be downloaded from.

:bug: Bug Fixes

  • Fixed an issue where the built-in portal bots would cause all scripts to be recompiled.
  • Fixed an issue where functions that retrieve data from portal bots (like os.getFocusPoint()) would always return null data.
  • Fixed an issue where the .getMoreRecords() function did not work.
kallyngowdyyeti
published 2.0.14-alpha.1392172559 •

kallyngowdyyeti
published 2.0.12 •

Changelog

Source

V2.0.12

Date: 10/8/2021

:rocket: Improvements

  • Added the os.createDebugger(options?) function.
    • os.createDebugger() can be used to create a separate sandbox area where bots can be tested without causing external effects.
    • This is useful for automated testing scenarios where you want to validate how a script works (e.g. that a toast is shown) without actually performing the script results (i.e. actually showing the toast).
    • Works by returning an object that contains a separate set of actions (like create() and getBots()) that can be used like normal. For example:
      const debug = os.createDebugger();
      const debugBot = debug.create({ home: true, color: 'red' });
      
      Creates a bot that is contained in the debugger. Therefore, scripts on the debugBot will only affect bots that were created in the debugger.
    • See the documentation for more information.
  • Added the assert(condition, message?) and assertEqual(received, expected) functions.
    • These functions check that the given condition is true or that the values are equal to each other and throw an error if they are not.
    • They can be useful for automated testing.
    • See the documentation for examples.

:bug: Bug Fixes

  • Fixed an issue where setting meetPortalAnchorPoint to left or right would not shift the gridPortal to the remaining space.
kallyngowdyyeti
published 2.0.2-alpha.984036479 •

kallyngowdyyeti
published 2.0.2-alpha.983566027 •

kallyngowdyyeti
published 2.0.2-alpha.981663424 •

kallyngowdyyeti
published 2.0.2-alpha.981597206 •

kallyngowdyyeti
published 2.0.2-alpha.979932941 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc