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

@based/client

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@based/client - npm Package Compare versions

Comparing version 3.2.2 to 3.3.0

8

docs/auth.md

@@ -21,3 +21,3 @@ # The Auth System

Example: see [here](https://github.com/atelier-saulx/based/blob/main/packages/auth-templates/jwt/authorize/authorize.ts)
Example: see [here](https://github.com/atelier-saulx/based/blob/main/packages/templates/jwtAuth/functions/authorize/index.ts)

@@ -29,3 +29,3 @@ ### `login`

Example: see [here](https://github.com/atelier-saulx/based/blob/main/packages/auth-templates/jwt/login/login.ts)
Example: see [here](https://github.com/atelier-saulx/based/blob/main/packages/templates/jwtAuth/functions/login/index.ts)

@@ -36,3 +36,3 @@ ### `logout`

Example: see [here](https://github.com/atelier-saulx/based/blob/main/packages/auth-templates/jwt/logout/logout.ts)
Example: see [here](https://github.com/atelier-saulx/based/blob/main/packages/templates/jwtAuth/functions/logout/index.ts)

@@ -44,3 +44,3 @@ ### `renewToken`

Example: see [here](https://github.com/atelier-saulx/based/blob/main/packages/auth-templates/jwt/renewToken/renewToken.ts)
Example: see [here](https://github.com/atelier-saulx/based/blob/main/packages/templates/jwtAuth/functions/renewToken/index.ts)

@@ -47,0 +47,0 @@ ## Based client methods

{
"name": "@based/client",
"version": "3.2.2",
"version": "3.3.0",
"license": "MIT",

@@ -45,4 +45,4 @@ "main": "dist/index.js",

"@saulx/hash": "^1.1.0",
"@saulx/selva": "^14.0.0",
"@saulx/selva-server": "^14.0.0",
"@saulx/selva": "^19.0.0",
"@saulx/selva-server": "^19.0.0",
"@types/jsonwebtoken": "^8.5.6",

@@ -49,0 +49,0 @@ "@types/node": "^17.0.23",

@@ -267,10 +267,12 @@ # @based/client

await client.updateSchema({
types: {
thing: {
fields: {
name: { type: 'string' },
nested: {
type: 'object',
properties: {
something: { type: 'string' },
schema: {
types: {
thing: {
fields: {
name: { type: 'string' },
nested: {
type: 'object',
properties: {
something: { type: 'string' },
},
},

@@ -277,0 +279,0 @@ },

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