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

@casual-simulation/aux-records

Package Overview
Dependencies
Maintainers
2
Versions
196
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@casual-simulation/aux-records - npm Package Versions

1
20

3.1.32-alpha.5293107523

Diff

kallyngowdyyeti
published 3.1.32-alpha.5291858541 •

kallyngowdyyeti
published 3.1.29 •

Changelog

Source

V3.1.29

Date: 5/23/2023

:rocket: Improvements

  • Added the @onSpaceMaxSizeReached shout.
    • This is a shout that is sent when a space has reached its maximum persistent storage size.
    • that is an object with the following properties:
      • space - The space that reached is maximum storage size. Generally, this is shared.
      • maxSizeInBytes - The maximum allowed size for the space in bytes.
      • neededSizeInBytes - The number of bytes that would be needed to store the data that was placed in the space.
    • Note that this only applies to persistent storage. That is, if you create a bot in the shared space and receive this shout, then it is possible that the bot was not persistently stored and shared, but it is still available by scripts until the browser tab is refreshed or the PC is restarted.
    • Generally, if you receive this shout, then it is a good idea to backup your inst.
  • Added configurable support for IP-based rate limiting.
    • Applies to websockets as well as the API.
    • Requires a Redis connection and is configurable by the following environment variables:
      • RATE_LIMIT_MAX - The maximum number of requests that can be recieved from an IP address over the window.
      • RATE_LIMIT_WINDOW_MS - The size of the window for requests represented in miliseconds.
    • If any of the above environment variables are not specified, then rate limiting will be disabled.
  • Added API support for policies and roles.
    • In the future, additional functions will be added to CasualOS to make accessing these new capabilities easier.
  • Added formOpacity tag, which allows bots to be semi-transparent.
    • A formOpacity value of 1 means that the bot's mesh materials are effectively in their default opacity and transparency state.
    • A formOpacity value < 1 means that the bot's mesh materials become transparent and that the formOpacity value is used to modify each material's default opacity level.
    • A formOpacity value of 0 would effectively make the bot invisible.
  • Added several functions to help manage policies and roles:
    • os.grantRecordMarkerPermission()
    • os.revokeRecordMarkerPermission()
    • os.grantInstAdminPermission()
    • os.grantUserRole()
    • os.grantInstRole()
    • os.revokeUserRole()
    • os.revokeInstRole()
    • See the documentation for more information.
  • Added the @onSpaceRateLimitExceeded shout which occurs when a space rejects a tag change or event because a rate limit was exceeded.

:bug: Bug Fixes

  • Fixed an issue where os.getMediaPermission would leave tracks in a MediaStream running. Some browsers/devices release these automatically, while others would leave the tracks running and cause issues with other systems that utilize audio and video hardware like augmented reality.
  • Fixed an issue where data: URLs would not work in the formAddress tag without a workaround.
  • Fixed an issue where it was impossible to create record keys on deployments that did not have a subscription configuration.
  • Fixed an issue where the bounding objects of a transformed bot did not update if its transformer moved.
    • This fixes a reported bug with lineTo to updating correctly while using the transformer tag. Issue #276
  • Fixed an issue where the color tag would not apply to all materials in a gltf model.
  • Fixed an issue where gltf models with multiple materials and textures would not be properly disposed.
  • Fixed an issue where os.beginAudioRecording would fail to provide audio chunks in stream mode if the mimeType was anything other than audio/x-raw.
  • Fixed some potential issues with the tempShared and remoteTempShared spaces.
  • Fixed an issue creating a bot with a null tag value would cause the null value to become visible after a refresh.
  • Fixed an issue where a player disconnect event may not be sent if the server failed to message the disconnected player before it processed the disconnection.
kallyngowdyyeti
published 3.1.29-alpha.5050976790 •

kallyngowdyyeti
published 3.1.29-alpha.5017204444 •

kallyngowdyyeti
published 3.1.29-alpha.4950390412 •

kallyngowdyyeti
published 3.1.29-alpha.4800904780 •

kallyngowdyyeti
published 3.1.27-alpha.4430491303 •

kallyngowdyyeti
published 3.1.26 •

Changelog

Source

V3.1.26

Date: 3/14/2023

:rocket: Improvements

  • Added additional configuration options for the Records system.
    • It is now possible to indicate whether a subscription is purchasable. Setting this to false will prevent it from showing to users who haven't purchased a subscription.
    • It is also now possible to povide additional configuration options for Stripe Checkout sessions and Stripe Customer Portal management sessions.
  • Improved the login system to evaluate email/sms rules on the server. As a result, existing users are no longer subject to the email/sms rules. This makes the rules effective for blocking specific emails/sms from signing up, but they won't interfere with already existing users.
kallyngowdyyeti
published 3.1.25 •

Changelog

Source

V3.1.25

Date: 3/10/2023

:rocket: Improvements

  • Added the ability to configure Records system deployments to support Beta Program Subscriptions through Stripe.
    • If configured, then users can subscribe to the Beta Program through their account portal.
    • Once subscribed, they can store their OpenAI API Key in their account profile.
    • This additional information will then be included in the authBot (returned from os.requestAuthBot()) as a couple tags:
      • hasActiveSubscription - Whether the user has a currently active beta program subscription.
      • openAiKey - The API Key that the user has saved in their account.
    • If not configured, then every user will have access to all of the Beta Program features.
    • Of course, since CausalOS is Open Source, anyone is free to take the source code and make their own deployments with all Beta Features enabled by default.
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