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

@stamhoofd/structures

Package Overview
Dependencies
Maintainers
1
Versions
267
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stamhoofd/structures - npm Package Compare versions

Comparing version 1.0.8 to 1.1.0

2

dist/index.d.ts

@@ -23,3 +23,3 @@ export * from "./src/OrganizationMetaData";

export * from "./src/grouping/PaginatedResponse";
export declare const Version = 1;
export declare const Version = 2;
//# sourceMappingURL=index.d.ts.map

@@ -31,3 +31,3 @@ "use strict";

// Latest version of the structures
exports.Version = 1;
exports.Version = 2;
//# sourceMappingURL=index.js.map
import { AutoEncoder } from '@simonbackx/simple-encoding';
import { Address } from './Address';
import { Group } from './Group';
import { OrganizationMetaData } from './OrganizationMetaData';

@@ -13,3 +14,5 @@ export declare class Organization extends AutoEncoder {

publicKey: string;
groups: Group[];
}
export declare const PatchOrganization: typeof AutoEncoder & (new () => import("@simonbackx/simple-encoding").AutoEncoderPatchType<Organization>);
//# sourceMappingURL=Organization.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Organization = void 0;
exports.PatchOrganization = exports.Organization = void 0;
const tslib_1 = require("tslib");

@@ -8,4 +8,9 @@ const simple_encoding_1 = require("@simonbackx/simple-encoding");

const Address_1 = require("./Address");
const Group_1 = require("./Group");
const OrganizationMetaData_1 = require("./OrganizationMetaData");
class Organization extends simple_encoding_1.AutoEncoder {
constructor() {
super(...arguments);
this.groups = [];
}
}

@@ -27,3 +32,7 @@ tslib_1.__decorate([

], Organization.prototype, "publicKey", void 0);
tslib_1.__decorate([
simple_encoding_1.field({ decoder: new simple_encoding_1.ArrayDecoder(Group_1.Group), version: 2, upgrade: () => [] })
], Organization.prototype, "groups", void 0);
exports.Organization = Organization;
exports.PatchOrganization = Organization.patchType();
//# sourceMappingURL=Organization.js.map

@@ -23,3 +23,3 @@ export * from "./src/OrganizationMetaData";

export * from "./src/grouping/PaginatedResponse";
export declare const Version = 1;
export declare const Version = 2;
//# sourceMappingURL=index.d.ts.map

@@ -27,3 +27,3 @@ // General

// Latest version of the structures
export const Version = 1;
export const Version = 2;
//# sourceMappingURL=index.js.map
import { AutoEncoder } from '@simonbackx/simple-encoding';
import { Address } from './Address';
import { Group } from './Group';
import { OrganizationMetaData } from './OrganizationMetaData';

@@ -13,3 +14,5 @@ export declare class Organization extends AutoEncoder {

publicKey: string;
groups: Group[];
}
export declare const PatchOrganization: typeof AutoEncoder & (new () => import("@simonbackx/simple-encoding").AutoEncoderPatchType<Organization>);
//# sourceMappingURL=Organization.d.ts.map
import { __decorate } from "tslib";
import { AutoEncoder, field, StringDecoder } from '@simonbackx/simple-encoding';
import { ArrayDecoder, AutoEncoder, field, StringDecoder } from '@simonbackx/simple-encoding';
import { v4 as uuidv4 } from "uuid";
import { Address } from './Address';
import { Group } from './Group';
import { OrganizationMetaData } from './OrganizationMetaData';
export class Organization extends AutoEncoder {
constructor() {
super(...arguments);
this.groups = [];
}
}

@@ -23,2 +28,6 @@ __decorate([

], Organization.prototype, "publicKey", void 0);
__decorate([
field({ decoder: new ArrayDecoder(Group), version: 2, upgrade: () => [] })
], Organization.prototype, "groups", void 0);
export const PatchOrganization = Organization.patchType();
//# sourceMappingURL=Organization.js.map
{
"name": "@stamhoofd/structures",
"version": "1.0.8",
"version": "1.1.0",
"main": "./dist/index.js",

@@ -5,0 +5,0 @@ "module": "./esm/dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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