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

@instantdb/admin

Package Overview
Dependencies
Maintainers
0
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instantdb/admin - npm Package Compare versions

Comparing version 0.16.6 to 0.17.0-experimental.0

14

dist/index.d.ts

@@ -47,7 +47,3 @@ import { tx, lookup, i, id, type TransactionChunk, type AuthToken, type Exactly, type User, type Query, type QueryResponse, type InstaQLResponse, type InstaQLParams, type InstantQuery, type InstantQueryResult, type InstantSchema, type InstantSchemaDatabase, type InstantObject, type InstantEntity, type BackwardsCompatibleSchema, type IInstantDatabase, type AttrsDefs, type CardinalityKind, type DataAttrDef, type EntitiesDef, type EntitiesWithLinks, type EntityDef, type InstantGraph, type LinkAttrDef, type LinkDef, type LinksDef, type ResolveAttrs, type ValueTypes, type InstantSchemaDef, type InstantUnknownSchema, type InstaQLEntity, type InstaQLResult, type InstantRules } from "@instantdb/core";

*
* type Schema = {
* goals: {
* title: string
* }
* }
* // TODO-now
*

@@ -57,5 +53,9 @@ * const db = init<Schema>({ appId: "my-app-id" })

*/
declare function init<Schema extends {} = {}>(config: Config): InstantAdmin<Schema, false>;
declare function init_experimental<Schema extends InstantSchemaDef<any, any, any> = InstantUnknownSchema>(config: InstantConfig<Schema>): InstantAdminDatabase<Schema>;
declare function init<Schema extends InstantSchemaDef<any, any, any> = InstantUnknownSchema>(config: InstantConfig<Schema>): InstantAdminDatabase<Schema>;
/**
* @deprecated
* TODO-now
*/
declare const init_experimental: typeof init;
/**
*

@@ -62,0 +62,0 @@ * The first step: init your application!

@@ -15,5 +15,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.i = exports.lookup = exports.tx = exports.id = void 0;
exports.i = exports.lookup = exports.tx = exports.id = exports.init_experimental = void 0;
exports.init = init;
exports.init_experimental = init_experimental;
const core_1 = require("@instantdb/core");

@@ -101,7 +100,3 @@ Object.defineProperty(exports, "tx", { enumerable: true, get: function () { return core_1.tx; } });

*
* type Schema = {
* goals: {
* title: string
* }
* }
* // TODO-now
*

@@ -112,8 +107,11 @@ * const db = init<Schema>({ appId: "my-app-id" })

function init(config) {
return new InstantAdmin(config);
}
function init_experimental(config) {
return new InstantAdminDatabase(config);
}
/**
* @deprecated
* TODO-now
*/
const init_experimental = init;
exports.init_experimental = init_experimental;
/**
*

@@ -120,0 +118,0 @@ * The first step: init your application!

@@ -47,7 +47,3 @@ import { tx, lookup, i, id, type TransactionChunk, type AuthToken, type Exactly, type User, type Query, type QueryResponse, type InstaQLResponse, type InstaQLParams, type InstantQuery, type InstantQueryResult, type InstantSchema, type InstantSchemaDatabase, type InstantObject, type InstantEntity, type BackwardsCompatibleSchema, type IInstantDatabase, type AttrsDefs, type CardinalityKind, type DataAttrDef, type EntitiesDef, type EntitiesWithLinks, type EntityDef, type InstantGraph, type LinkAttrDef, type LinkDef, type LinksDef, type ResolveAttrs, type ValueTypes, type InstantSchemaDef, type InstantUnknownSchema, type InstaQLEntity, type InstaQLResult, type InstantRules } from "@instantdb/core";

*
* type Schema = {
* goals: {
* title: string
* }
* }
* // TODO-now
*

@@ -57,5 +53,9 @@ * const db = init<Schema>({ appId: "my-app-id" })

*/
declare function init<Schema extends {} = {}>(config: Config): InstantAdmin<Schema, false>;
declare function init_experimental<Schema extends InstantSchemaDef<any, any, any> = InstantUnknownSchema>(config: InstantConfig<Schema>): InstantAdminDatabase<Schema>;
declare function init<Schema extends InstantSchemaDef<any, any, any> = InstantUnknownSchema>(config: InstantConfig<Schema>): InstantAdminDatabase<Schema>;
/**
* @deprecated
* TODO-now
*/
declare const init_experimental: typeof init;
/**
*

@@ -62,0 +62,0 @@ * The first step: init your application!

@@ -88,7 +88,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

*
* type Schema = {
* goals: {
* title: string
* }
* }
* // TODO-now
*

@@ -99,8 +95,10 @@ * const db = init<Schema>({ appId: "my-app-id" })

function init(config) {
return new InstantAdmin(config);
}
function init_experimental(config) {
return new InstantAdminDatabase(config);
}
/**
* @deprecated
* TODO-now
*/
const init_experimental = init;
/**
*

@@ -107,0 +105,0 @@ * The first step: init your application!

export default version;
declare const version: "v0.16.6";
declare const version: "v0.17.0-experimental.0";
//# sourceMappingURL=version.d.ts.map
// Autogenerated by publish_packages.clj
const version = "v0.16.6";
const version = "v0.17.0-experimental.0";
export default version;
//# sourceMappingURL=version.js.map
export default version;
declare const version: "v0.16.6";
declare const version: "v0.17.0-experimental.0";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// Autogenerated by publish_packages.clj
const version = "v0.16.6";
const version = "v0.17.0-experimental.0";
exports.default = version;
//# sourceMappingURL=version.js.map
{
"name": "@instantdb/admin",
"version": "v0.16.6",
"version": "v0.17.0-experimental.0",
"description": "Admin SDK for Instant DB",

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

"dependencies": {
"@instantdb/core": "v0.16.6"
"@instantdb/core": "v0.17.0-experimental.0"
}
}

@@ -171,2 +171,3 @@ import {

/**

@@ -183,7 +184,3 @@ *

*
* type Schema = {
* goals: {
* title: string
* }
* }
* // TODO-now
*

@@ -193,7 +190,3 @@ * const db = init<Schema>({ appId: "my-app-id" })

*/
function init<Schema extends {} = {}>(config: Config) {
return new InstantAdmin<Schema, false>(config);
}
function init_experimental<
function init<
Schema extends InstantSchemaDef<any, any, any> = InstantUnknownSchema,

@@ -205,2 +198,8 @@ >(config: InstantConfig<Schema>) {

/**
* @deprecated
* TODO-now
*/
const init_experimental = init;
/**
*

@@ -207,0 +206,0 @@ * The first step: init your application!

// Autogenerated by publish_packages.clj
const version = "v0.16.6";
const version = "v0.17.0-experimental.0";
export default version;

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

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