major | minor | patch |
---|---|---|
1 | 2 | 3 |
major: incompatible API changes
# EditorConfig is awesome: https://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true |
import JSSHA from 'jssha' | |
import rp from 'request-promise' | |
export default async function(query, variables, apiKey, apiSecretKey) { | |
// New actual Time-Stamp | |
const timestamp = new Date().getTime() / 1000 | |
const body = JSON.stringify({query, variables}) | |
const shaObj = new JSSHA('SHA-512', 'TEXT') | |
shaObj.setHMACKey(apiSecretKey, 'TEXT') |
<?php | |
/** | |
* This is free and unencumbered software released into the public domain. | |
* | |
* Anyone is free to copy, modify, publish, use, compile, sell, or | |
* distribute this software, either in source code form or as a compiled | |
* binary, for any purpose, commercial or non-commercial, and by any | |
* means. | |
* |