abp-ng2-module UtilsService add samesite option
This commit is contained in:
Musa Demir 2020-08-10 17:16:55 +03:00
Родитель c4ea877da8
Коммит 508f1403e7
3 изменённых файлов: 17 добавлений и 19 удалений

Просмотреть файл

@ -40,7 +40,7 @@
"rxjs": "~6.5.4",
"tslib": "^1.10.0",
"zone.js": "~0.10.2",
"abp-web-resources": "5.2.0"
"abp-web-resources": "5.3.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.900.7",

Просмотреть файл

@ -1,22 +1,20 @@
///<reference path="../../../../../../node_modules/abp-web-resources/Abp/Framework/scripts/abp.d.ts"/>
import { Injectable } from '@angular/core';
import {Injectable} from '@angular/core';
@Injectable({
providedIn: 'root'
providedIn: 'root'
})
export class UtilsService {
getCookieValue(key: string): string {
return abp.utils.getCookieValue(key);
}
getCookieValue(key: string): string {
return abp.utils.getCookieValue(key);
}
setCookieValue(key: string, value: string, expireDate?: Date, path?: string, domain?: string, attributes?: any): void {
abp.utils.setCookieValue(key, value, expireDate, path, domain, attributes);
}
setCookieValue(key: string, value: string, expireDate?: Date, path?: string): void {
abp.utils.setCookieValue(key, value, expireDate, path);
}
deleteCookie(key: string, path?: string): void {
abp.utils.deleteCookie(key, path);
}
}
deleteCookie(key: string, path?: string): void {
abp.utils.deleteCookie(key, path);
}
}

Просмотреть файл

@ -1251,10 +1251,10 @@ JSONStream@^1.3.4:
jsonparse "^1.2.0"
through ">=2.2.7 <3"
abp-web-resources@5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/abp-web-resources/-/abp-web-resources-5.2.0.tgz#89c17111c6e70b1ecbfb287dfa960e0593511a77"
integrity sha512-C/X1Id/JiAsfatBWMae1M5LDG574lJlRJws4bQ51pf8kH8UfzI3Ks+ZHKgVHaoFdT+x/UojtUPWoZp8/oTHyZQ==
abp-web-resources@5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/abp-web-resources/-/abp-web-resources-5.3.0.tgz#45e7e35e74c0778185dc19668446c1bec919d095"
integrity sha512-dvaCcjkXvQp62iLtasGl3VeYjgSM5l7gM1MoqvdjjPiWSAkrZFZk2MeMyQh/Sl0QYggLVKKhNCwB6woZjcAaqw==
accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7:
version "1.3.7"