Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "bullet", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"exports": "./bullet.js", | ||
@@ -22,2 +22,2 @@ "types": "./bullet.d.ts", | ||
} | ||
} | ||
} |
@@ -101,3 +101,3 @@ import { createSlice, nanoid } from "@reduxjs/toolkit"; | ||
this.Slice = this.constructor; | ||
this.schema = new Schema(this.Slice.attributes); | ||
this.schema = new Schema(this.Slice.schema); | ||
this.attrs = this.schema.deserialize(this.schema.fill(attrs)); | ||
@@ -104,0 +104,0 @@ for (const name of this.schema.names) { |
@@ -6,3 +6,3 @@ import "./test-helper.js"; | ||
class Book extends Entity { | ||
static attributes = { | ||
static schema = { | ||
title: { type: String, default: "Untitled" }, | ||
@@ -9,0 +9,0 @@ pageCount: { type: Number, default: 0 }, |
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
27732
19