New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

daf-data-store

Package Overview
Dependencies
Maintainers
8
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daf-data-store - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

2

build/data-store.js

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

case 0:
query = "SELECT * FROM ( SELECT m.id, m.\"timestamp\", m.sender AS did, md. \"type\" AS sourceType, md.id AS sourceId FROM messages AS m\n LEFT JOIN messages_meta_data AS md ON m.id = md.message_id) GROUP BY did, sourceType";
query = "SELECT * FROM ( SELECT m.id, m.\"timestamp\", m.receiver AS did, md. \"type\" AS sourceType, md.id AS sourceId FROM messages AS m\n LEFT JOIN messages_meta_data AS md ON m.id = md.message_id order by m.timestamp desc) GROUP BY did, sourceType";
return [4 /*yield*/, this.db.rows(query, [])];

@@ -374,0 +374,0 @@ case 1: return [2 /*return*/, _a.sent()];

@@ -6,2 +6,13 @@ # Change Log

## [0.10.1](https://github.com/uport-project/daf/compare/v0.10.0...v0.10.1) (2019-12-10)
### Bug Fixes
* Ordering in latestMessageTimestamps ([fca9995](https://github.com/uport-project/daf/commit/fca9995f1fd9c1fa09ba024f8d0eeb417d97b9ee))
# [0.10.0](https://github.com/uport-project/daf/compare/v0.9.0...v0.10.0) (2019-12-10)

@@ -8,0 +19,0 @@

{
"name": "daf-data-store",
"description": "DID Agent Framework Data Store",
"version": "0.10.0",
"version": "0.10.1",
"main": "build/index.js",

@@ -30,3 +30,3 @@ "types": "build/index.d.ts",

"keywords": [],
"gitHead": "a194a5cf6c9bbe98b033f3add2044175dcc68391"
"gitHead": "bcfa660259186f0f287e9718361a538e4d559833"
}

@@ -261,4 +261,4 @@ import { Message } from 'daf-core'

async latestMessageTimestamps() {
let query = `SELECT * FROM ( SELECT m.id, m."timestamp", m.sender AS did, md. "type" AS sourceType, md.id AS sourceId FROM messages AS m
LEFT JOIN messages_meta_data AS md ON m.id = md.message_id) GROUP BY did, sourceType`
let query = `SELECT * FROM ( SELECT m.id, m."timestamp", m.receiver AS did, md. "type" AS sourceType, md.id AS sourceId FROM messages AS m
LEFT JOIN messages_meta_data AS md ON m.id = md.message_id order by m.timestamp desc) GROUP BY did, sourceType`

@@ -265,0 +265,0 @@ return await this.db.rows(query, [])

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