ziggeo
Advanced tools
Comparing version 0.1.17 to 0.1.18
@@ -0,3 +1,6 @@ | ||
var app_token = process.argv[2]; | ||
var private_key = process.argv[3]; | ||
var Ziggeo = require("../index.js"); | ||
var ZiggeoSdk = new Ziggeo(process.argv[2], process.argv[3]); | ||
var ZiggeoSdk = new Ziggeo(app_token, private_key); | ||
@@ -4,0 +7,0 @@ ZiggeoSdk.Videos.count({}, { |
@@ -0,3 +1,6 @@ | ||
var app_token = process.argv[2]; | ||
var private_key = process.argv[3]; | ||
var Ziggeo = require("../index.js"); | ||
var ZiggeoSdk = new Ziggeo(process.argv[2], process.argv[3]); | ||
var ZiggeoSdk = new Ziggeo(app_token, private_key); | ||
@@ -4,0 +7,0 @@ var video_to_delete = []; |
@@ -0,3 +1,6 @@ | ||
var app_token = process.argv[2]; | ||
var private_key = process.argv[3]; | ||
var Ziggeo = require("../index.js"); | ||
var ZiggeoSdk = new Ziggeo(process.argv[2], process.argv[3]); | ||
var ZiggeoSdk = new Ziggeo(app_token, private_key); | ||
@@ -4,0 +7,0 @@ var video_to_delete = []; |
fs = require('fs'); | ||
var api_token = process.argv[2]; | ||
var app_token = process.argv[2]; | ||
var private_key = process.argv[3]; | ||
@@ -4,0 +4,0 @@ var list_file = process.argv[4]; |
@@ -5,3 +5,2 @@ /* | ||
var fs = require('fs'); | ||
var app_token = process.argv[2]; | ||
@@ -8,0 +7,0 @@ var private_key = process.argv[3]; |
@@ -1,2 +0,1 @@ | ||
var fs = require('fs'); | ||
var app_token = process.argv[2]; | ||
@@ -3,0 +2,0 @@ var private_key = process.argv[3]; |
@@ -0,3 +1,6 @@ | ||
var app_token = process.argv[2]; | ||
var private_key = process.argv[3]; | ||
var Ziggeo = require("../index.js"); | ||
var ZiggeoSdk = new Ziggeo(process.argv[2], process.argv[3]); | ||
var ZiggeoSdk = new Ziggeo(app_token, private_key); | ||
@@ -4,0 +7,0 @@ var video_to_skip = 0; |
@@ -0,3 +1,6 @@ | ||
var app_token = process.argv[2]; | ||
var private_key = process.argv[3]; | ||
var Ziggeo = require("../index.js"); | ||
var ZiggeoSdk = new Ziggeo(process.argv[2], process.argv[3]); | ||
var ZiggeoSdk = new Ziggeo(app_token, private_key); | ||
@@ -4,0 +7,0 @@ var video_to_skip = 0; |
@@ -0,3 +1,6 @@ | ||
var app_token = process.argv[2]; | ||
var private_key = process.argv[3]; | ||
var Ziggeo = require("../index.js"); | ||
var ZiggeoSdk = new Ziggeo(process.argv[2], process.argv[3]); | ||
var ZiggeoSdk = new Ziggeo(app_token, private_key); | ||
@@ -4,0 +7,0 @@ var video_to_skip = 0; |
@@ -0,3 +1,6 @@ | ||
var app_token = process.argv[2]; | ||
var private_key = process.argv[3]; | ||
var Ziggeo = require("../index.js"); | ||
var ZiggeoSdk = new Ziggeo(process.argv[2], process.argv[3]); | ||
var ZiggeoSdk = new Ziggeo(app_token, private_key); | ||
@@ -4,0 +7,0 @@ console.log('Start fetching video tokens '); |
@@ -0,3 +1,6 @@ | ||
var app_token = process.argv[2]; | ||
var private_key = process.argv[3]; | ||
var Ziggeo = require("../index.js"); | ||
var ZiggeoSdk = new Ziggeo(process.argv[2], process.argv[3]); | ||
var ZiggeoSdk = new Ziggeo(app_token, private_key); | ||
@@ -4,0 +7,0 @@ var video_to_skip = 0; |
/*! | ||
ziggeo - v0.1.17 - 2019-09-17 | ||
ziggeo - v0.1.18 - 2020-01-13 | ||
Copyright (c) | ||
@@ -14,4 +14,4 @@ Apache-2.0 Software License. | ||
"guid": "dc4166d4-b177-4212-abd5-ab255907a7d8", | ||
"version": "0.1.17", | ||
"datetime": 1568779093768 | ||
"version": "0.1.18", | ||
"datetime": 1578951804611 | ||
}; | ||
@@ -181,3 +181,7 @@ }); | ||
data: data, | ||
timeout: this.Config.requestTimeout | ||
timeout: this.Config.requestTimeout, | ||
resilience: 5, | ||
resilience_filter: function (error) { | ||
return error && error.status_code && error.status_code() < 500; | ||
} | ||
}).success(function (result) { | ||
@@ -184,0 +188,0 @@ if (callbacks) { |
{ | ||
"name": "ziggeo", | ||
"description": "Ziggeo API (https://ziggeo.com) allows you to integrate video recording and playback with only two lines of code in your site, service or app. This is the NodeJS Server SDK.", | ||
"version": "0.1.17", | ||
"version": "0.1.18", | ||
"author": "Ziggeo", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/Ziggeo/ZiggeoNodeSdk.git", |
@@ -1,2 +0,2 @@ | ||
# Ziggeo Node.js Server SDK 0.1.17 | ||
# Ziggeo Node.js Server SDK 0.1.18 | ||
@@ -210,2 +210,3 @@ Ziggeo API (https://ziggeo.com) allows you to integrate video recording and playback with only | ||
- expiration_days: *After how many days will this video be deleted* | ||
- expire_on: *On which date will this video be deleted. String in ISO 8601 format: YYYY-MM-DD* | ||
@@ -228,2 +229,3 @@ | ||
- expiration_days: *After how many days will this video be deleted* | ||
- expire_on: *On which date will this video be deleted. String in ISO 8601 format: YYYY-MM-DD* | ||
@@ -840,4 +842,4 @@ | ||
Copyright (c) 2013-2019 Ziggeo | ||
Copyright (c) 2013-2020 Ziggeo | ||
Apache 2.0 License |
@@ -23,3 +23,7 @@ Scoped.define("module:Connect", [ | ||
data: data, | ||
timeout: this.Config.requestTimeout | ||
timeout: this.Config.requestTimeout, | ||
resilience: 5, | ||
resilience_filter: function (error) { | ||
return error && error.status_code && error.status_code() < 500; | ||
} | ||
}).success(function (result) { | ||
@@ -26,0 +30,0 @@ if (callbacks) { |
112439
2178
843
12