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

ag-repo

Package Overview
Dependencies
Maintainers
0
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ag-repo - npm Package Compare versions

Comparing version 1.0.211 to 1.0.212

5

AgActivityBase.d.ts

@@ -59,3 +59,3 @@ import { Db, Filter, Document } from "mongodb";

};
distinct<K_1 extends keyof T>(key: K_1): Promise<any[]>;
distinct<K_1 extends keyof T>(key: K_1): any[];
upsert_all(objs: T[]): Promise<void>;

@@ -72,2 +72,3 @@ upsert(obj: T): Promise<string>;

stamp(): number;
name(): string;
keys(): string[];

@@ -81,3 +82,3 @@ map(): Readonly<{

list(): Active<T>[];
distinct<K extends keyof T>(key: K): Promise<any[]>;
distinct<K extends keyof T>(key: K): any[];
aggregate(filter: Document[], paging: PagingOptions, order: OrderingOptions): Promise<{

@@ -84,0 +85,0 @@ data: Activity<T>[];

12

AgActivityBase.js

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

var query_fn = function (opt, paging, order) {
return AgAsyncComputed_1.AgAsyncComputed.create('messageQuery', api_id, key, table.stamp())
return AgAsyncComputed_1.AgAsyncComputed.create(table.name(), 'messageQuery', api_id, key, table.stamp())
.withArgs(opt, paging, order)

@@ -104,3 +104,3 @@ .compute(function (opt, paging, order) { return table.aggregate(fn(opt), paging, order); });

var query_fn = function (opt, paging, order) {
return AgAsyncComputed_1.AgAsyncComputed.create('messageQuery', api_id, key, table.stamp())
return AgAsyncComputed_1.AgAsyncComputed.create(table.name(), 'messageQuery', api_id, key, table.stamp())
.withArgs(opt, paging, order)

@@ -316,2 +316,5 @@ .compute(function (opt, paging, order) { return table.query(fn(opt), paging, order); });

;
table.prototype.name = function () {
return this.collection.collectionName;
};
table.prototype.item = function (id) {

@@ -385,3 +388,6 @@ return this.data[id];

table.prototype.distinct = function (key) {
return this.collection.distinct(key);
var _this = this;
return AgAsyncComputed_1.AgAsyncComputed.create(this.collection.collectionName, 'distinct', key, this.stamp())
.withArgs()
.compute(function () { return _this.collection.distinct(key); });
};

@@ -388,0 +394,0 @@ table.prototype.filter = function (filter, paging, orderby) {

{
"name": "ag-repo",
"version": "1.0.211",
"version": "1.0.212",
"description": "",

@@ -5,0 +5,0 @@ "author": "",

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