New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@casual-simulation/causal-tree-store-browser

Package Overview
Dependencies
Maintainers
2
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@casual-simulation/causal-tree-store-browser - npm Package Versions

1
79
15

1.5.0

Diff
kallyngowdyyeti
published 1.5.0 •

Changelog

Source

V1.5.0

Date: 3/17/2021

:boom: Breaking Changes

  • Changed the #portalCameraRotationX and #portalCameraRotationY tags to use radians instead of degrees.

:rocket: Improvements

  • Added the cameraZoom and cameraZoomOffset tags.
  • Added the os.focusOn(botOrPosition, options?) function.
    • Works similarly to os.tweenTo() and os.moveTo() except that it takes an options object instead of a bunch of parameters.
    • Notable improvements includes that it can accept a position instead of a bot, it supports different easing types, and it will return a promise which completes when the camera movement is finished.
    • Additionally the rotation values are in radians instead of degrees.
  • os.focusOn() and os.tweenTo() now use quadratic easing by default.
    • Additionally os.focusOn() supports specifying the easing type just like animateTag().
  • os.tweenTo() and os.moveTo() are now deprecated and should no longer be used. They will be removed in a future release of CasualOS.
    • To encourage migration, they have been removed from the documentation and autocomplete.
  • Added the experiment.beginAudioRecording() and experiment.endAudioRecording() functions to experiment with audio recording.
    • See the documentation for more information.

:bug: Bug Fixes

  • Fixed an issue where camera offsets would not be taken into account when calculating the camera focus point.
    • This fixes issues with the focus point becoming more and more wrong as offsets are applied to the camera.
    • However, any calculations which try to calculate a camera position offset from the focus point must now subtract the current offset from the focus point to get the correct result. The example auxCode (cameraMovementExample) has been updated to reflect this change (version 2 and later).
kallyngowdyyeti
published 1.4.11 •

Changelog

Source

V1.4.11

Date: 3/12/2021

:rocket: Improvements

  • Added the math.scaleVector(vector, scale) function to make multiplying vectors by scalar values easy.

:bug: Bug Fixes

  • Fixed an issue where the @onServerJoined event could be sent before all data was loaded.
    • This could happen if one player was changing data while another player was joining the server.
  • Fixed an issue where custom portals would not open if the portal tags were not defined when the portal is opened.
  • Fixed an issue where custom portals would always have default styling for their first load.
kallyngowdyyeti
published 1.4.7-alpha.33 •
kallyngowdyyeti
published 1.4.7-alpha.32 •
kallyngowdyyeti
published 1.4.4 •

Changelog

Source

V1.4.4

Date: 2/18/2021

:rocket: Improvements

  • Added additional crypto functions to support asymmetric encryption and decryption.
    • crypto.asymmetric.keypair(secret) - Creates a keypair that can be used for asymmetric encryption and decryption.
    • crypto.asymmetric.encrypt(keypair, data) - Encrypts some data using the given keypair.
    • crypto.asymmetric.decrypt(keypair, secret, data) - Decrypts some data using the given keypair and secret.
    • Check the documentation for more info.
  • Added a better error message when trying to save a bot to a tag value.
  • Added the dimension bot form as a preferred alias to portal.
kallyngowdyyeti
published 1.4.3 •

Changelog

Source

V1.4.3

Date: 2/17/2021

:rocket: Improvements

  • Added the ability to interface with CasualOS from inside a custom portal.
    • CasualOS-related functionality is available by importing functions and objects from the casualos module.
    • Among the available functionality is onBotsDiscovered, onBotsRemoved, onBotsUpdated, createBot(), destroyBot(), and updateBot().
    • Additionally autocomplete is available for the available features.

:bug: Bug Fixes

  • Fixed an issue where webhook errors could not be caught on Safari based browsers.
kallyngowdyyeti
published 1.4.0-alpha.31 •
kallyngowdyyeti
published 1.4.0-alpha.30 •
kallyngowdyyeti
published 1.3.12 •

Changelog

Source

V1.3.12

Date: 1/13/2021

:rocket: Improvements

  • Added the Terms of Service and Privacy Policy documents.
    • The Terms of Service are available at /terms (or at /terms-of-service.txt).
    • The Privacy Policy is available at /privacy-policy (or at /privacy-policy.txt).
  • Added the ability to keep track of the number of setTimeout() and setInterval() timers that are currently active via the numberOfActiveTimers property returned from perf.getStats().
  • Added the animateTag(bot, tag, options) and clearAnimations(bot, tag?) functions.
    • animateTag(bot, tag, options) - Iteratively changes a tag mask value over time based on the options you provide.
      • bot is the bot or list of bots that should be animated.
      • tag is the tag that should be animated.
      • options is an object that specifies how the tag should be animated. It has the following properties:
        • fromValue - The starting value for the animation.
        • toValue - The ending value.
        • duration - The number of seconds that it should take for the tag to go from the starting value to the ending value.
        • easing - The options for easing the animation.
        • tagMaskSpace - The space that the tag should be changed in. If set to false then the tag on the bot will be directly edited.
    • clearAnimations(bot, tag?) - Cancels animations on a bot.
      • bot - The bot or list of bots that should have their animations canceled.
      • tag - Is optional and is the tag that the animations should be canceled for.

:bug: Bug Fixes

  • Fixed issues with #labelFontSize = auto when #labelPosition != front or when the bot is rotated.
  • Fixed an issue where non-ASCII characters were being corrupted on download.
kallyngowdyyeti
published 1.3.11 •

Changelog

Source

V1.3.11

Date: 1/5/2021

:rocket: Improvements

  • Greatly improved the default layouting behaviour of labels.
    • Added the #labelFontSize tag to control the sizing of the characters in a label. Unlike #labelSize, changing this value will cause the label to layout again which will affect word wrapping. Possible values are:
      • auto - Specifies that the system should try to find a font size that fits the text onto the bot. (default)
      • Any Number - Specifies a specific font size. (1 is previous default)
    • Added the #labelWordWrapMode tag to control the word wrapping behavior of labels. Possible values are:
      • breakCharacters - Specifies that the system should insert line breaks inside words if needed.
      • breakWords - Specifies that the system should insert line breaks between words if needed.
      • none - Specifies that the system should not insert line breaks.
  • Added the ability to control the color of the placeholder text in the chat bar.
    • Use the placeholderColor option when calling player.showChat().

:bug: Bug Fixes

  • Fixed an issue where atoms that were received before their cause would be discarded.