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

@casual-simulation/aux-common

Package Overview
Dependencies
Maintainers
0
Versions
473
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

1
4647

0.4.14

Diff

Changelog

Source

V0.4.14

Date: 04/19/2019

Changes:

  • Improvements
    • Users that join as a guest will now have a cleaner visible name of Guest.
    • Removed the builder checkbox on the new workspace popup to make the feature cleaner.
    • Added the ability to zoom to a file by tapping/clicking its ID in the file sheet.
    • Added a couple script functions:
      • tweenTo(file or id) causes the current user's camera to tween to the given file. (just like how the sheet does it)
      • toast(message) causes a toast message to pop up with the given message. It will automatically go away after some time.
kallyngowdyyeti
published 0.4.13 •

Changelog

Source

V0.4.13

Date: 04/18/2019

Changes:

  • Improvements
    • Can load external images by setting aux.image to an image url.
      • NOTE: The remote server must be CORS enabled in order to allow retrieval of the image.
    • Added sprite as an option for aux.shape.
      • This is a camera facing quad that is great for displaying transparent images.
    • Added several events:
      • onCreate() is called on the file that was created after being created.
      • onDestroy() is called on the file just before it is destroyed.
      • onDropInContext() is called on all the files that a user just dragged onto a context. (that is the context name)
      • onDragOutOfContext() is called on all the files that a user just dragged out of a context. (that is the context name)
      • onDropAnyInContext() is called on all files when any file is dragged onto a context. (that is an object that contains the context and files)
      • onDragAnyOutOfContext() is called on all files when any file is dragged out of a context. (that is an object that contains the context and files)
      • onDropInInventory() is called on the file that a user just dragged into their inventory.
      • onDragOutOfInventory() is called on the file that a user just dragged out of their inventory.
      • onDropAnyInInventory() is called on all files when any file is dragged into the user's inventory. (that is the list of files)
      • onDragAnyOutOfInventory() is called on all files when any file is dragged out of the user's inventory. (that is the list of files)
      • onTapCode() is called on every file whenever a 4 digit tap code has been entered. (that is the code)
        • It is recommended to use an if statement to filter the tap code.
        • This way you won't get events for tap code 1111 all the time due to the user tapping the screen.
      • All of the drag/drop events are triggered once the user is done dragging. (not during their drag)
    • Added checkboxes the new workspace modal to allow users to set whether it should show up in builder, player, or both.
kallyngowdyyeti
published 0.4.12 •

Changelog

Source

V0.4.12

Date: 04/17/2019

Changes:

  • Breaking Changes
    • Changed worksurfaces and player config files to use {context}.config instead of aux.builder.context and aux.player.context.
      • This also allows people to specify formulas on a per-context basis.
      • We call these new tags "config tags".
      • For example, you can show the hello context in both AUX Builder and AUX Player by setting the hello.config tag to true.
      • Because of this change, existing worksurfaces no longer work. To regain your worksurfaces, do a search for @aux.builder.context and then create a config tag for the worksurfaces that are found.
    • Changed worksurface config values to use aux.context.{value} instead of aux.builder.context.{value}.
      • Removing builder from the name makes it easier to understand that the tags are describing the contexts that the file is configuring.
    • Renamed aux._parent to aux._creator.
    • Moved functions that create file diffs to their own namespace.
      • xyzDiff() is now makeDiff.xyz()
      • so addToContextDiff() is now makeDiff.addToContext()
  • Bug Fixes
    • Fixed an issue that would prevent some files from showing up in Aux Builder due to being created with incorrect data.
    • Fixed the ability to shrink worksurfaces.
  • Improvements
    • Added the ability to pass arguments in shout().
      • For example, you can pass the number 11 to everything that has a handleMessage() tag using shout("handleMessage", 11).
    • Added isBuilder and isPlayer variables to formulas.
      • This allows formulas to tell whether they are being run in AUX Builder or AUX Player.
      • Using these variables in combination with config tags allows specifying whether a context should show up in AUX Builder or AUX Player.
      • For example, the hello context will only show up in AUX Builder when the hello.config tag is set to =isBuilder.
    • Added the ability to pass an array of files to clone() and destroy().
    • Changed the generated context ID format from aux._context_{uuid} to context_{short-uuid}.
    • Added aux.mergeable so control whether diffs can be merged into other files.
    • Added md-dialog-prompt to GameView to allow users to set custom contexts for new workspaces.
    • Removed the _destroyed tag. Setting it now does nothing.
    • Aux Player now uses aux.context.color value as the scene's background color.
      • If aux.context.color has no value or is undefined, then it will fall back to aux.scene.color.
    • Made diff toolbar in AUX Builder transparent and Inventory toolbar in AUX Player mostly transparent (slots are still lightly visible.)
    • Added a trash can that shows up when dragging a file.
      • Dragging files onto this trash can causes the file to be deleted.
      • Dragging a diff onto the trash can causes the diff to be cleared.
    • Added support for aux.label.anchor to allow positioning of the label.
      • Supported values are:
        • top (default)
        • left
        • right
        • front
        • back
        • floating (word bubble)
1
4647
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